~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/version.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-01-24 22:58:48 UTC
  • mfrom: (2242.1.1 bzr.dev.plus.0.14)
  • Revision ID: pqm@pqm.ubuntu.com-20070124225848-73ee49f6aeb7ea18
merge from bzr.0.14 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    try:
64
64
        from bzrlib.workingtree import WorkingTree
65
65
        return WorkingTree.open_containing(__file__)[0]
66
 
    except (errors.NotBranchError, errors.UnknownFormatError):
 
66
    except (errors.NotBranchError, errors.UnknownFormatError,
 
67
            errors.NoWorkingTree):
67
68
        return None