~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-04 18:51:39 UTC
  • mfrom: (2961.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20071104185139-kaio3sneodg2kp71
Authentication ring implementation (read-only)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1356
1356
            except ValueError:
1357
1357
                raise errors.InvalidURL('invalid port number %s in url:\n%s' %
1358
1358
                                        (port, url))
 
1359
        if host == '':
 
1360
            raise errors.InvalidURL('Host empty in: %s' % url)
 
1361
 
1359
1362
        host = urllib.unquote(host)
1360
1363
        path = urllib.unquote(path)
1361
1364