~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: 2006-08-24 00:00:04 UTC
  • mfrom: (1711.9.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060824000004-01ec89ae326683b0
(spiv) clean up test_bench_history

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