summaryrefslogtreecommitdiffstats
path: root/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py')
-rw-r--r--net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py
new file mode 100644
index 0000000..b46155e
--- /dev/null
+++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py
@@ -0,0 +1,16 @@
+--- bittorrent-curses.py Wed Oct 12 01:08:15 2005
++++ bittorrent-curses.py Wed Oct 12 07:57:28 2005
+@@ -15,6 +15,13 @@
+
+ from __future__ import division
+
++try:
++ import psyco
++ assert psyco.__version__ >= 0x010300f0
++ psyco.full()
++except:
++ pass
++
+ from BitTorrent.platform import install_translation
+ install_translation()
+
OpenPOWER on IntegriCloud