~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-09 08:12:01 UTC
  • mfrom: (5837.1.3 inter-no-default)
  • Revision ID: pqm@pqm.ubuntu.com-20110509081201-1nreh088nt7xh3l1
(jelmer) Require the default for Inter.get to be explicitly registered.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3249
3249
    def __init__(self, name, string):
3250
3250
        self.name = name
3251
3251
        self.string = string
 
3252
 
 
3253
 
 
3254
class NoCompatibleInter(BzrError):
 
3255
 
 
3256
    _fmt = ('No compatible object available for operations from %(source)r '
 
3257
            'to %(target)r.')
 
3258
 
 
3259
    def __init__(self, source, target):
 
3260
        self.source = source
 
3261
        self.target = target