~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-05-12 01:44:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060512014408-204a193b59d5ee61
Adding bzrlib.urlutils.join() to handle joining URLs

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
    """Invalid url supplied to transport: %(path)r%(extra)s"""
215
215
 
216
216
 
 
217
class InvalidURLJoin(PathError):
 
218
    """Invalid URL join request: %(args)s%(extra)s"""
 
219
 
 
220
    def __init__(self, msg, base, args):
 
221
        PathError.__init__(self, base, msg)
 
222
        self.args = [base]
 
223
        self.args.extend(args)
 
224
 
 
225
 
217
226
class PathNotChild(BzrNewError):
218
227
    """Path %(path)r is not a child of path %(base)r%(extra)s"""
219
228
    def __init__(self, path, base, extra=None):