diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-10-12 12:28:54 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-10-12 12:28:54 +0000 |
commit | adf6f31761b912e89c2f52cbd0ce5a3ae6a0c832 (patch) | |
tree | 195902867590192451c0165dcaea57e8e76078cf /net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-curses.py | |
parent | Update to 0.9.3 (diff) |
Update to 4.1.6 with devel/py-twistedCore support
Notes
Notes:
svn path=/head/; revision=145104
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.py | 24 |
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() |