freebsd-ports/net-p2p/py-bittorrent/files/extra-psyco-patch-changetracker-console.py

17 lines
350 B
Python
Raw Normal View History

2007-05-31 04:04:24 +02:00
--- ./changetracker-console.py.orig Thu Mar 1 22:12:53 2007
+++ ./changetracker-console.py Mon May 7 06:06:21 2007
2005-12-08 18:27:32 +01:00
@@ -12,6 +12,13 @@
# Written by Henry 'Pi' James and Bram Cohen
+try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+except:
+ pass
+
app_name = "BitTorrent"
from BitTorrent.translation import _
2005-12-08 18:27:32 +01:00