~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-29 17:00:45 UTC
  • mto: This revision was merged to the branch mainline in revision 778.
  • Revision ID: jelmer@samba.org-20110829170045-j1yns6q2e6jb236i
Remove unused imports and fix two imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
class ChangedBinaryFiles(BzrError):
75
75
 
76
76
    _fmt = 'Changes involve binary files.'
 
77
 
 
78
 
 
79
class NoConflictFiles(CommandError):
 
80
 
 
81
    _fmt = '%(base_name)s does not exist and there are no pending merges.'
 
82
 
 
83
    def __init__(self, base_name):
 
84
        CommandError.__init__(self, base_name=base_name)
 
85
 
 
86
 
 
87
class NotArchiveType(BzrError):
 
88
 
 
89
    _fmt = '%(path)s is not an archive.'
 
90
 
 
91
    def __init__(self, path):
 
92
        BzrError.__init__(self)
 
93
        self.path = path