~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzr-man.py

  • Committer: John Arbash Meinel
  • Date: 2005-09-19 03:26:14 UTC
  • mto: (1393.2.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050919032614-79751b0510f24929
Major refactoring of testtransport.
Rewrote test_transport() as a class which can be subclassed which provides
many test_* functions, rather than one large function.
Much easier to debug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    print >>sys.stderr, "bzr-man.py: error: cannot find a suitable python interpreter"
43
43
    print >>sys.stderr, "  (need %d.%d or later)" % NEED_VERS
44
44
    sys.exit(1)
45
 
os.unsetenv(REINVOKE)
 
45
if hasattr(os, "unsetenv"):
 
46
    os.unsetenv(REINVOKE)
46
47
 
47
48
import bzrlib, bzrlib.help
48
49