bzr-git broken ?

INADA Naoki songofacandy at gmail.com
Sun Mar 14 10:02:23 GMT 2010


> Can you try the following in a Python interpreter and let me know what it
> outputs:
> import urllib
> urllib.urlsplit("git://git.gnome.org/postr")
> urllib.splithost(urllib.urlsplit("git://git.gnome.org/postr")[2])

urlsplit is in urlparse module.

>>> import urllib
>>> import urlparse
>>> urlparse.urlsplit('git://git.gnome.org/postr')
SplitResult(scheme='git', netloc='', path='//git.gnome.org/postr',
query='', fragment='')
>>> urllib.splithost(_[2])
('git.gnome.org', '/postr')

-- 
INADA Naoki  <songofacandy at gmail.com>



More information about the bazaar mailing list