blob: 7313c0b3b815c3c88caaf7d0130873ca343392e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- btcompletedir.py Thu Dec 16 11:03:11 2004
+++ btcompletedir.py Thu Dec 16 11:12:55 2004
@@ -3,6 +3,15 @@
# Written by Bram Cohen
# see LICENSE.txt for license information
+from BitTorrent import PSYCO
+if PSYCO.psyco:
+ try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+ except:
+ pass
+
from os.path import join, split
from threading import Event
from traceback import print_exc
|