~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    print >>sys.stderr, "bzr: error: cannot find a suitable python interpreter"
59
59
    print >>sys.stderr, "  (need %d.%d or later)" % NEED_VERS
60
60
    sys.exit(1)
61
 
if hasattr(os, "unsetenv"):
 
61
if getattr(os, "unsetenv", None) is not None:
62
62
    os.unsetenv(REINVOKE)
63
63
 
64
64