summaryrefslogtreecommitdiff
path: root/devel/codeville/files/extra-psyco-patch-cdvpasswd
diff options
context:
space:
mode:
Diffstat (limited to 'devel/codeville/files/extra-psyco-patch-cdvpasswd')
-rw-r--r--devel/codeville/files/extra-psyco-patch-cdvpasswd16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/codeville/files/extra-psyco-patch-cdvpasswd b/devel/codeville/files/extra-psyco-patch-cdvpasswd
new file mode 100644
index 000000000000..9c81db09187a
--- /dev/null
+++ b/devel/codeville/files/extra-psyco-patch-cdvpasswd
@@ -0,0 +1,16 @@
+--- cdvpasswd Fri Jul 15 14:42:58 2005
++++ cdvpasswd Mon Oct 10 00:01:53 2005
+@@ -4,6 +4,13 @@
+ # See LICENSE.txt for license information
+
+ try:
++ import psyco
++ assert psyco.__version__ >= 0x010300f0
++ psyco.full()
++except:
++ pass
++
++try:
+ import Codeville.db
+ except ImportError:
+ import sys, os.path