~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Robert Collins
  • Date: 2009-04-24 05:08:51 UTC
  • mto: This revision was merged to the branch mainline in revision 4304.
  • Revision ID: robertc@robertcollins.net-20090424050851-sdfonaqerfs386t0
Reduce round trips pushing new branches substantially.

Show diffs side-by-side

added added

removed removed

Lines of Context:
724
724
    if host != "" and host[0] == '[' and host[-1] == ']': #IPv6
725
725
        host = host[1:-1]
726
726
 
727
 
    if host == '':
728
 
        raise errors.InvalidURL('Host empty in: %s' % url)
729
 
 
730
727
    host = urllib.unquote(host)
731
728
    path = urllib.unquote(path)
732
729