~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzr

  • Committer: Martin Pool
  • Date: 2005-06-27 01:26:11 UTC
  • Revision ID: mbp@sourcefrog.net-20050627012611-4effb7007553fde1
- tweak rsync upload script

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
 
27
27
REINVOKE = "__BZR_REINVOKE"    
28
 
NEED_VERS = (2, 4)
29
 
KNOWN_PYTHONS = ('python2.4',)
 
28
NEED_VERS = (2, 3)
30
29
 
31
30
if version_info < NEED_VERS:
32
31
    if not os.environ.has_key(REINVOKE):
33
32
        # mutating os.environ doesn't work in old Pythons
34
33
        os.putenv(REINVOKE, "1")
35
 
        for python in KNOWN_PYTHONS:
 
34
        for python in 'python2.4', 'python2.3':
36
35
            try:
37
36
                os.execvp(python, [python] + sys.argv)
38
37
            except OSError: