~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-12 21:56:31 UTC
  • mfrom: (1960.4.3 0.10)
  • mto: This revision was merged to the branch mainline in revision 2002.
  • Revision ID: john@arbash-meinel.com-20060912215631-b827909408542a9b
merge bzr-0.10 into bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
898
898
                osutils.set_or_unset_env(env_var, value)
899
899
 
900
900
        bzr_path = os.path.dirname(os.path.dirname(bzrlib.__file__))+'/bzr'
 
901
        if not os.path.isfile(bzr_path):
 
902
            # We are probably installed. Assume sys.argv is the right file
 
903
            bzr_path = sys.argv[0]
901
904
        args = list(args)
902
905
 
903
906
        try: