diff options
Diffstat (limited to 'net/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py')
-rw-r--r-- | net/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py b/net/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py new file mode 100644 index 000000000000..51f59f66073a --- /dev/null +++ b/net/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py @@ -0,0 +1,18 @@ +--- bittorrent-curses.py.orig Tue Aug 23 22:49:16 2005 ++++ bittorrent-curses.py Tue Aug 23 22:49:59 2005 +@@ -15,6 +15,15 @@ + + from __future__ import division + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + import gettext + gettext.install('bittorrent', 'locale') + |