~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.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:
2119
2119
        except errors.NoSuchFile:
2120
2120
            raise errors.NoRepositoryPresent(a_bzrdir)
2121
2121
        except KeyError:
2122
 
            raise errors.UnknownFormatError(format=format_string)
 
2122
            raise errors.UnknownFormatError(format=format_string,
 
2123
                                            kind='repository')
2123
2124
 
2124
2125
    @classmethod
2125
2126
    def register_format(klass, format):