~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2011-06-27 23:07:10 UTC
  • Revision ID: aaron@aaronbentley.com-20110627230710-orth0tzf1kwknfen
Better handling of compound tar names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
    def __init__(self, base_name):
84
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