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.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.py')
-rw-r--r-- | net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent.py | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent.py index 87111677207f..d4d8ba81d578 100644 --- a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent.py +++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent.py @@ -1,18 +1,16 @@ ---- bittorrent.py.orig Tue Aug 23 22:49:16 2005 -+++ bittorrent.py Tue Aug 23 22:50:20 2005 -@@ -14,6 +14,15 @@ +--- bittorrent.py Wed Oct 12 01:08:18 2005 ++++ bittorrent.py Wed Oct 12 07:58:12 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 + - from BitTorrent.platform import locale_root + from BitTorrent.platform import install_translation + install_translation() - import gettext |