Merge a branch from Guilherme Salgado that fixes launchpad code URLs
This commit is contained in:
commit
88282b9f1d
@ -31,7 +31,7 @@ class LaunchpadCodeURLHandler(plugin.URLHandler):
|
|||||||
nameopen = "Open Launchpad branch"
|
nameopen = "Open Launchpad branch"
|
||||||
namecopy = "Copy branch URL"
|
namecopy = "Copy branch URL"
|
||||||
lpfilters = {}
|
lpfilters = {}
|
||||||
lpfilters['project'] = '[a-z0-9]{1}[a-z0-9\.\-\+]+'
|
lpfilters['project'] = '[a-z0-9]{1}[a-z0-9+.-]+'
|
||||||
lpfilters['group'] = '~%s' % lpfilters['project']
|
lpfilters['group'] = '~%s' % lpfilters['project']
|
||||||
lpfilters['series'] = lpfilters['project']
|
lpfilters['series'] = lpfilters['project']
|
||||||
lpfilters['branch'] = '[a-zA-Z0-9]{1}[a-zA-Z0-9_+@.-]+'
|
lpfilters['branch'] = '[a-zA-Z0-9]{1}[a-zA-Z0-9_+@.-]+'
|
||||||
|
Loading…
Reference in New Issue
Block a user