Be a little bit more flexible with URLs that are accepted.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 17 May 2008 15:11:41 +0000 (17:11 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 17 May 2008 15:11:41 +0000 (17:11 +0200)
remote/launchpad.py

index a90511500e5bcefd256df7192fed3ef040b06a75..f1b9d6e5ee50bd135a72cf58f1f0896cae27c8f3 100644 (file)
@@ -37,7 +37,7 @@ import rfc822
 class LaunchpadData:
     def __init__(self, uri, id):
 
-        text = urllib.urlopen(urlparse.urljoin(uri, "+text"))
+        text = urllib.urlopen(urlparse.urljoin(uri+"/", "+text"))
         product = uri.split("/")[-3]
 
         bug = rfc822.Message(text)