mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
fix exception message in parse_disturl
This commit is contained in:
parent
1d44150c7f
commit
612ac35f28
@ -1699,7 +1699,7 @@ def parse_disturl(disturl):
|
||||
|
||||
m = DISTURL_RE.match(disturl)
|
||||
if not m:
|
||||
raise oscerr.WrongArgs("`%s' does not look like disturl")
|
||||
raise oscerr.WrongArgs("`%s' does not look like disturl" % disturl)
|
||||
|
||||
apiurl = m.group('apiurl')
|
||||
if apiurl.split('.')[0] != 'api':
|
||||
|
Loading…
Reference in New Issue
Block a user