diff options
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-launchmany-console.py')
-rw-r--r-- | net-p2p/py-bittorrent-devel/files/extra-psyco-patch-launchmany-console.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-launchmany-console.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-launchmany-console.py new file mode 100644 index 000000000000..d6957efec28e --- /dev/null +++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-launchmany-console.py @@ -0,0 +1,18 @@ +--- launchmany-console.py.orig Tue Aug 23 22:49:16 2005 ++++ launchmany-console.py Tue Aug 23 22:50:30 2005 +@@ -12,6 +12,15 @@ + + # Written by John Hoffman + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + if __name__ == '__main__': + import gettext + gettext.install('bittorrent', 'locale') |