diff options
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btreannouce.py')
-rw-r--r-- | net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btreannouce.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btreannouce.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btreannouce.py new file mode 100644 index 000000000000..41e423ed3dce --- /dev/null +++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btreannouce.py @@ -0,0 +1,18 @@ +--- btreannounce.py.orig Tue May 24 03:01:08 2005 ++++ btreannounce.py Sun May 29 22:46:38 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 ++ + import gettext + gettext.install('bittorrent', 'locale') + |