summaryrefslogtreecommitdiffstats
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-torrentinfo-console.py
blob: a78b3c2fb46da19f2a49e31a2cf73df62d5b6e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- torrentinfo-console.py.orig	Tue Jun  6 20:44:39 2006
+++ torrentinfo-console.py	Thu Jun 15 14:47:13 2006
@@ -12,6 +12,13 @@
 
 # Written by Henry 'Pi' James, Loring Holden and Matt Chisholm
 
+try:
+  import psyco
+  assert psyco.__version__ >= 0x010300f0
+  psyco.full()
+except:
+  pass
+
 from BitTorrent.translation import _
 
 from sys import *
OpenPOWER on IntegriCloud