~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/version.py

  • Committer: John Arbash Meinel
  • Date: 2007-02-13 13:38:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2294.
  • Revision ID: john@arbash-meinel.com-20070213133816-r6swt6ibvtms473f
remove get_cached_utf8 checks which were slowing things down.

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