[Pkg-bazaar-commits] ./bzr/unstable r982: - we need python2.4 now, so update the statup check for that
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:21:40 UTC 2009
------------------------------------------------------------
revno: 982
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Wed 2005-07-27 10:11:28 -0300
message:
- we need python2.4 now, so update the statup check for that
modified:
bzr
------------------------------------------------------------
revno: 974.1.1
committer: Aaron Bentley <abentley at panoramicfeedback.com>
timestamp: Tue 2005-07-26 10:06:11 -0400
message:
Fixed python invocation
modified:
bzr
-------------- next part --------------
=== modified file 'bzr'
--- a/bzr 2005-05-10 08:15:58 +0000
+++ b/bzr 2005-07-26 14:06:11 +0000
@@ -25,13 +25,14 @@
REINVOKE = "__BZR_REINVOKE"
-NEED_VERS = (2, 3)
+NEED_VERS = (2, 4)
+KNOWN_PYTHONS = ('python2.4',)
if version_info < NEED_VERS:
if not os.environ.has_key(REINVOKE):
# mutating os.environ doesn't work in old Pythons
os.putenv(REINVOKE, "1")
- for python in 'python2.4', 'python2.3':
+ for python in KNOWN_PYTHONS:
try:
os.execvp(python, [python] + sys.argv)
except OSError:
More information about the Pkg-bazaar-commits
mailing list