~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-12 02:46:38 UTC
  • mfrom: (3144.6.3 bzr.ab.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080312024638-d1zdt09upkzq52is
Add 'kind' to UnknownFormatError (#173980, dwatkins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
834
834
        except errors.NoSuchFile:
835
835
            raise errors.NotBranchError(path=transport.base)
836
836
        except KeyError:
837
 
            raise errors.UnknownFormatError(format=format_string)
 
837
            raise errors.UnknownFormatError(format=format_string, kind='branch')
838
838
 
839
839
    @classmethod
840
840
    def get_default_format(klass):