freebsd-ports/net-p2p/py-bittorrent/files/extra-psyco-patch-bittorrent-curses.py
Mario Sergio Fujikawa Ferreira 8d8dbdbd68 o Update to 4.20.0
o launchmany-{console,curses} do not work on this release
2006-06-24 20:17:41 +00:00

16 lines
322 B
Python

--- bittorrent-curses.py.orig Tue Jun 6 20:43:25 2006
+++ bittorrent-curses.py Thu Jun 15 14:45:05 2006
@@ -15,6 +15,13 @@
from __future__ import division
+try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+except:
+ pass
+
from BitTorrent.translation import _
SPEW_SCROLL_RATE = 1