~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/version.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-24 00:08:33 UTC
  • mfrom: (1954 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1979.
  • Revision ID: john@arbash-meinel.com-20060824000833-f32d5cbef4fa4f78
[merge] bzr.dev 1954

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:
 
66
    except (errors.NotBranchError, errors.UnknownFormatError):
67
67
        return None