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

16 lines
341 B
Python

--- ./bittorrent-console.py.orig Thu Mar 1 22:12:51 2007
+++ ./bittorrent-console.py Mon May 7 06:06:21 2007
@@ -14,6 +14,13 @@
from __future__ import division
+try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+except:
+ pass
+
app_name = "BitTorrent"
from BitTorrent.translation import _
import sys