diff options
Diffstat (limited to 'net-p2p/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedirgui.py')
-rw-r--r-- | net-p2p/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedirgui.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedirgui.py b/net-p2p/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedirgui.py new file mode 100644 index 000000000000..750f7f3b4ff6 --- /dev/null +++ b/net-p2p/py-kenosis-bittorrent/files/extra-psyco-patch-btcompletedirgui.py @@ -0,0 +1,18 @@ +--- btcompletedirgui.py Thu Dec 16 11:03:11 2004 ++++ btcompletedirgui.py Thu Dec 16 11:13:34 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from sys import argv, version + + from btcompletedir import completedir |