summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py')
-rw-r--r--net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py24
1 files changed, 11 insertions, 13 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py
index c8a19d96f6e1..bf6128eb8b65 100644
--- a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py
+++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py
@@ -1,18 +1,16 @@
---- torrentinfo-console.py.orig Tue Aug 23 22:49:16 2005
-+++ torrentinfo-console.py Tue Aug 23 22:50:55 2005
-@@ -12,6 +12,15 @@
+--- torrentinfo-console.py Wed Oct 12 01:08:50 2005
++++ torrentinfo-console.py Wed Oct 12 07:58:48 2005
+@@ -12,6 +12,13 @@
# Written by Henry 'Pi' James, Loring Holden and Matt Chisholm
-+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()