summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py')
-rw-r--r--net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py24
1 files changed, 11 insertions, 13 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py
index 51f59f66073a..b46155e5bcb9 100644
--- a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py
+++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py
@@ -1,18 +1,16 @@
---- 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 @@
+--- 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
-+from BitTorrent import PSYCO
-+if PSYCO.psyco:
-+ try:
-+ import psyco
-+ assert psyco.__version__ >= 0x010300f0
-+ psyco.full()
-+ except:
-+ pass
++try:
++ import psyco
++ assert psyco.__version__ >= 0x010300f0
++ psyco.full()
++except:
++ pass
+
- import gettext
- gettext.install('bittorrent', 'locale')
+ from BitTorrent.platform import install_translation
+ install_translation()