~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2006-06-20 03:57:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620035711-400bb6b6bc6ff95b
Add pyflakes makefile target; fix many warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
333
333
        self.paths_as_string = ' '.join([quotefn(p) for p in paths])
334
334
 
335
335
 
336
 
class BadFileKindError(BzrError):
337
 
    """Specified file is of a kind that cannot be added.
338
 
 
339
 
    (For example a symlink or device file.)"""
340
 
 
341
 
 
342
 
class ForbiddenFileError(BzrError):
343
 
    """Cannot operate on a file because it is a control file."""
 
336
class BadFileKindError(BzrNewError):
 
337
    """Cannot operate on %(filename)s of unsupported kind %(kind)s"""
 
338
 
 
339
 
 
340
class ForbiddenFileError(BzrNewError):
 
341
    """Cannot operate on %(filename)s because it is a control file"""
344
342
 
345
343
 
346
344
class LockError(BzrNewError):