diff options
Diffstat (limited to 'net-p2p/py-bittorrent/files/extra-psyco-patch-btreannouce.py')
-rw-r--r-- | net-p2p/py-bittorrent/files/extra-psyco-patch-btreannouce.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btreannouce.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btreannouce.py deleted file mode 100644 index ba827e7..0000000 --- a/net-p2p/py-bittorrent/files/extra-psyco-patch-btreannouce.py +++ /dev/null @@ -1,18 +0,0 @@ ---- btreannounce.py.orig Wed Aug 17 15:24:19 2005 -+++ btreannounce.py Mon Aug 22 23:06:19 2005 -@@ -12,6 +12,15 @@ - - # Written by Henry 'Pi' James and Bram Cohen - -+from BitTorrent import PSYCO -+if PSYCO.psyco: -+ try: -+ import psyco -+ assert psyco.__version__ >= 0x010300f0 -+ psyco.full() -+ except: -+ pass -+ - from os.path import basename - from sys import argv, exit - from BitTorrent.bencode import bencode, bdecode |