diff options
author | lioux <lioux@FreeBSD.org> | 2005-12-08 17:27:32 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2005-12-08 17:27:32 +0000 |
commit | abc5f0b3a5ea80fab2810a2c06ad06d78134adec (patch) | |
tree | ceb4f299d1f44f7355a1330ce5b20ebcf9e5834f /net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py | |
parent | 4dd1eda40edd41c96880ffee55effea373ad2429 (diff) | |
download | FreeBSD-ports-abc5f0b3a5ea80fab2810a2c06ad06d78134adec.zip FreeBSD-ports-abc5f0b3a5ea80fab2810a2c06ad06d78134adec.tar.gz |
Update to 4.2.1
Diffstat (limited to 'net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py')
-rw-r--r-- | net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py new file mode 100644 index 0000000..b46155e --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py @@ -0,0 +1,16 @@ +--- 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 + ++try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++except: ++ pass ++ + from BitTorrent.platform import install_translation + install_translation() + |