summarylogtreecommitdiffstats
path: root/python2.patch
diff options
context:
space:
mode:
authorOleg Plakhotniuk2015-06-23 15:30:47 -0500
committerOleg Plakhotniuk2015-06-23 15:30:47 -0500
commitc1a0296371a0110c9f099b08e0f28bb6c68ca6d5 (patch)
treed516480870acd32280ff9b8200d061aa221194f5 /python2.patch
downloadaur-testoob.tar.gz
Initial import
Diffstat (limited to 'python2.patch')
-rwxr-xr-xpython2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/python2.patch b/python2.patch
new file mode 100755
index 00000000000..51d57caacf0
--- /dev/null
+++ b/python2.patch
@@ -0,0 +1,21 @@
+--- old/src/testoob/compatibility/trace.py 2009-10-07 17:08:46.000000000 -0500
++++ new/src/testoob/compatibility/trace.py 2014-03-16 21:53:53.332878659 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+
+ # portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
+ # err... reserved and offered to the public under the terms of the
+@@ -739,10 +739,10 @@
+
+ s = s.replace("$prefix",
+ os.path.join(sys.prefix, "lib",
+- "python" + sys.version[:3]))
++ "python2" + sys.version[:3]))
+ s = s.replace("$exec_prefix",
+ os.path.join(sys.exec_prefix, "lib",
+- "python" + sys.version[:3]))
++ "python2" + sys.version[:3]))
+ s = os.path.normpath(s)
+ ignore_dirs.append(s)
+ continue