summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py')
-rw-r--r--net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py24
1 files changed, 11 insertions, 13 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py
index 06fdd83e5526..17e63fdd1a00 100644
--- a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py
+++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py
@@ -1,18 +1,16 @@
---- bittorrent-console.py.orig Tue Aug 23 22:49:16 2005
-+++ bittorrent-console.py Tue Aug 23 22:49:55 2005
-@@ -14,6 +14,15 @@
+--- bittorrent-console.py Wed Oct 12 01:08:15 2005
++++ bittorrent-console.py Wed Oct 12 07:57:46 2005
+@@ -14,6 +14,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()