summaryrefslogtreecommitdiff
path: root/net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-console.py
blob: 0a885f9d4c2d117e06e6b986b7a9b63af42ede6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- launchmany-console.py	Wed Oct 12 01:08:27 2005
+++ launchmany-console.py	Wed Oct 12 07:58:23 2005
@@ -12,6 +12,13 @@
 
 # Written by John Hoffman
 
+try:
+  import psyco
+  assert psyco.__version__ >= 0x010300f0
+  psyco.full()
+except:
+  pass
+
 if __name__ == '__main__':
     from BitTorrent.platform import install_translation
     install_translation()