freebsd-ports/net-p2p/py-bittorrent/files/extra-psyco-patch-maketorrent.py
Mario Sergio Fujikawa Ferreira 73946cb5bd Update to 4.2.1
2005-12-08 17:27:32 +00:00

16 lines
321 B
Python

--- maketorrent.py Wed Oct 12 01:08:27 2005
+++ maketorrent.py Wed Oct 12 07:58:35 2005
@@ -14,6 +14,13 @@
from __future__ import division
+try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+except:
+ pass
+
from BitTorrent.platform import install_translation
install_translation()