~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2008-11-05 00:21:17 UTC
  • mto: This revision was merged to the branch mainline in revision 678.
  • Revision ID: aaron@aaronbentley.com-20081105002117-ly7injhr5uacyl9s
More cleanups

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