diff options
Diffstat (limited to 'net/py-bittorrent-devel/files/extra-psyco-patch-bttrack.py')
-rw-r--r-- | net/py-bittorrent-devel/files/extra-psyco-patch-bttrack.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/py-bittorrent-devel/files/extra-psyco-patch-bttrack.py b/net/py-bittorrent-devel/files/extra-psyco-patch-bttrack.py new file mode 100644 index 000000000000..2102a91d8f75 --- /dev/null +++ b/net/py-bittorrent-devel/files/extra-psyco-patch-bttrack.py @@ -0,0 +1,18 @@ +--- bttrack.py.orig Fri Mar 11 23:17:26 2005 ++++ bttrack.py Fri Mar 11 23:17:31 2005 +@@ -12,6 +12,15 @@ + + # Written by Bram Cohen + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from sys import argv + from BitTorrent.track import track + |