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

16 lines
353 B
Python

--- ./bittorrent-tracker.py.orig Thu Mar 1 22:12:51 2007
+++ ./bittorrent-tracker.py Mon May 7 06:06:21 2007
@@ -12,6 +12,13 @@
# Written by Bram Cohen
+try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+except:
+ pass
+
app_name = "BitTorrent"
if __name__ == '__main__':
from BitTorrent.translation import _