~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-07 21:40:36 UTC
  • mto: This revision was merged to the branch mainline in revision 1847.
  • Revision ID: john@arbash-meinel.com-20060707214036-98a85408a56630c2
Update get_transport to raise a nicer error which includes dependency info

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