summaryrefslogtreecommitdiffstats
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-bittorrent-console.py
blob: 19a0d8acf7a71635887e15828dba6ef628e5a0b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- bittorrent-console.py.orig	Tue Jun  6 20:43:25 2006
+++ bittorrent-console.py	Thu Jun 15 14:44:32 2006
@@ -14,6 +14,13 @@
 
 from __future__ import division
 
+try:
+  import psyco
+  assert psyco.__version__ >= 0x010300f0
+  psyco.full()
+except:
+  pass
+
 from BitTorrent.translation import _
 
 import pdb
OpenPOWER on IntegriCloud