~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: 2011-07-19 13:06:44 UTC
  • mfrom: (6030.2.7 locspec-to-url)
  • Revision ID: pqm@pqm.ubuntu.com-20110719130644-efx0i6dq30myjhmk
(jelmer) Split location to URL conversion out into a separate function from
 get_transport. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
621
621
 
622
622
    _fmt = 'Unsupported protocol for url "%(path)s"%(extra)s'
623
623
 
624
 
    def __init__(self, url, extra):
 
624
    def __init__(self, url, extra=""):
625
625
        PathError.__init__(self, url, extra=extra)
626
626
 
627
627