1
0
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:
Michal Vyskocil 2010-01-28 13:22:44 +01:00
parent 1d44150c7f
commit 612ac35f28

View File

@ -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':