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/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.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/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.py')
-rw-r--r-- | net/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.py | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/net/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.py b/net/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.py index cf8c08f18e64..476f36587378 100644 --- a/net/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.py +++ b/net/py-bittorrent-devel/files/extra-psyco-patch-maketorrent-console.py @@ -1,18 +1,16 @@ ---- maketorrent-console.py.orig Tue Aug 23 22:49:16 2005 -+++ maketorrent-console.py Tue Aug 23 22:50:41 2005 -@@ -12,6 +12,15 @@ +--- maketorrent-console.py Wed Oct 12 01:08:27 2005 ++++ maketorrent-console.py Wed Oct 12 07:58:31 2005 +@@ -12,6 +12,13 @@ # Written by Bram Cohen -+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 + if __name__ == '__main__': - import gettext - gettext.install('bittorrent', 'locale') + from BitTorrent.platform import install_translation + install_translation() |