~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_directory.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-06 08:34:03 UTC
  • mfrom: (6191.2.1 843900-url-nameerror)
  • Revision ID: pqm@pqm.ubuntu.com-20111006083403-jnsw0exlirg01aed
(mbp) error message without traceback on invalid ubuntu/debian url (bug
 843900) (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
            else:
132
132
                # There are either 0 or > 2 path parts, neither of which is
133
133
                # supported for these schemes.
134
 
                raise errors.InvalidURL('Bad path: %s' % result.path)
 
134
                raise errors.InvalidURL('Bad path: %s' % url)
135
135
            # Expand any series shortcuts, but keep unknown series.
136
136
            series = distro_series.get(series, series)
137
137
            # Hack the url and let the following do the final resolution.