fix regexps
authorPierre Habouzit <madcoder@debian.org>
Sat, 24 May 2008 13:06:10 +0000 (15:06 +0200)
committerPierre Habouzit <madcoder@debian.org>
Sat, 24 May 2008 13:06:10 +0000 (15:06 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
remote/launchpad.py

index b4cff48b9df34b25beed8886681e8cf1040e5d5c..fba4ac5cb95ae09682a7520dbc8224ca5ad55655 100644 (file)
@@ -64,8 +64,8 @@ class LaunchpadData:
 
 class RemoteLaunchpad(RemoteBts):
     def __init__(self, cnf):
-        bugre  = r"^%(uri)s/(?:.*/)?+bug/([0-9]+)$"
-        urifmt = "%(uri)s/+bug/%(id)s"
+        bugre  = r"^%(uri)s/(?:.*/)?\+bug/([0-9]+)$"
+        urifmt = "%(uri)s/\+bug/%(id)s"
         RemoteBts.__init__(self, cnf, bugre, urifmt, LaunchpadData)
 
     def isClosing(self, status, resolution):