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