freebsd-ports/net-p2p/py-bittorrent/files/extra-psyco-patch-torrentinfo-console.py
Mario Sergio Fujikawa Ferreira 593741302b Update to 5.0.7
2007-05-31 02:04:24 +00:00

16 lines
357 B
Python

--- ./torrentinfo-console.py.orig Thu Mar 1 22:13:28 2007
+++ ./torrentinfo-console.py Mon May 7 06:06:21 2007
@@ -12,6 +12,13 @@
# Written by Henry 'Pi' James, Loring Holden and Matt Chisholm
+try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+except:
+ pass
+
app_name = "BitTorrent"
from BTL.translation import _