summaryrefslogtreecommitdiffstats
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py
blob: 6f73f927141b0fd3eedfa5acbeab567c305b520a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- launchmany-curses.py	Wed Oct 12 01:08:27 2005
+++ launchmany-curses.py	Wed Oct 12 07:58:27 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()
 
OpenPOWER on IntegriCloud