diff options
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-changetracker-console.py')
-rw-r--r-- | net-p2p/py-bittorrent-devel/files/extra-psyco-patch-changetracker-console.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-changetracker-console.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-changetracker-console.py new file mode 100644 index 000000000000..050a3bb2fe3c --- /dev/null +++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-changetracker-console.py @@ -0,0 +1,18 @@ +--- changetracker-console.py.orig Tue Aug 23 22:49:16 2005 ++++ changetracker-console.py Tue Aug 23 22:50:25 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') + |