[merge][#165014] url parser accepts IPv6 literals

Robert Collins robertc at robertcollins.net
Mon Dec 1 03:52:12 GMT 2008


On Mon, 2008-12-01 at 14:45 +1100, Martin Pool wrote:
> === modified file 'bzrlib/urlutils.py'
> --- bzrlib/urlutils.py  2008-07-22 02:55:10 +0000
> +++ bzrlib/urlutils.py  2008-12-01 03:42:23 +0000
> @@ -687,3 +685,49 @@
>      if len(segments) == 0:
>          return '.'
>      return osutils.pathjoin(*segments)
> +
> +
> +

Too much VWS here - 2 lines please.

> +def parse_url(url):

bb:tweak
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081201/e76f8be2/attachment.pgp 


More information about the bazaar mailing list