~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-07-10 02:16:27 UTC
  • mfrom: (1843.1.2 transport-errors)
  • Revision ID: pqm@pqm.ubuntu.com-20060710021627-47d5e48ecc36ece7
(jam) Give a better error when paramiko is not present (#47821, #52204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
        self.args.extend(args)
259
259
 
260
260
 
 
261
class UnsupportedProtocol(PathError):
 
262
    """Unsupported protocol for url "%(path)s"%(extra)s"""
 
263
 
 
264
    def __init__(self, url, extra):
 
265
        PathError.__init__(self, url, extra=extra)
 
266
 
 
267
 
261
268
class PathNotChild(BzrNewError):
262
269
    """Path %(path)r is not a child of path %(base)r%(extra)s"""
263
270