~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-08 12:42:43 UTC
  • mto: This revision was merged to the branch mainline in revision 5840.
  • Revision ID: jelmer@samba.org-20110508124243-weda6q83jduwt1ze
Make Inter.get raise NoCompatibleInter.

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