~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-20 06:38:49 UTC
  • mfrom: (1773.4.3 bzr.mbp.pyflakes)
  • Revision ID: pqm@pqm.ubuntu.com-20060620063849-400861427a3a9ff1
(mbp) pyflakes cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
359
359
        self.paths_as_string = ' '.join([quotefn(p) for p in paths])
360
360
 
361
361
 
362
 
class BadFileKindError(BzrError):
363
 
    """Specified file is of a kind that cannot be added.
364
 
 
365
 
    (For example a symlink or device file.)"""
366
 
 
367
 
 
368
 
class ForbiddenFileError(BzrError):
369
 
    """Cannot operate on a file because it is a control file."""
 
362
class BadFileKindError(BzrNewError):
 
363
    """Cannot operate on %(filename)s of unsupported kind %(kind)s"""
 
364
 
 
365
 
 
366
class ForbiddenControlFileError(BzrNewError):
 
367
    """Cannot operate on %(filename)s because it is a control file"""
370
368
 
371
369
 
372
370
class LockError(BzrNewError):