diff options
Diffstat (limited to 'net/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedir.py')
-rw-r--r-- | net/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedir.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedir.py b/net/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedir.py deleted file mode 100644 index 7313c0b3b815..000000000000 --- a/net/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedir.py +++ /dev/null @@ -1,18 +0,0 @@ ---- 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 |