~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2006-04-20 02:33:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1675.
  • Revision ID: mbp@sourcefrog.net-20060420023332-6da5e1c018e334b7
(PathsDoNotExist) review style comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
 
288
288
 
289
289
class PathsDoNotExist(BzrNewError):
 
290
    """Path(s) do not exist: %(paths_as_string)s"""
 
291
 
290
292
    # used when reporting that paths are neither versioned nor in the working
291
293
    # tree
292
 
    """Path(s) do not exist: %(paths_as_string)s"""
293
294
 
294
295
    def __init__(self, paths):
 
296
        # circular import
295
297
        from bzrlib.osutils import quotefn
296
298
        BzrNewError.__init__(self)
297
299
        self.paths = paths
298
300
        self.paths_as_string = ' '.join([quotefn(p) for p in paths])
299
301
 
300
302
 
301
 
 
302
303
class BadFileKindError(BzrError):
303
304
    """Specified file is of a kind that cannot be added.
304
305