mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- small apiurl fixes
This commit is contained in:
parent
06603f3fcb
commit
a20e354d07
@ -1148,7 +1148,7 @@ class Osc(cmdln.Cmdln):
|
||||
print 'Unexpanding to rev', p.linkinfo.lsrcmd5
|
||||
rev = p.linkinfo.lsrcmd5
|
||||
elif p.islink() and p.isexpanded():
|
||||
rev = show_upstream_xsrcmd5(conf.config['apiurl'],
|
||||
rev = show_upstream_xsrcmd5(p.apiurl,
|
||||
p.prjname, p.name)
|
||||
|
||||
p.update(rev)
|
||||
|
@ -404,7 +404,7 @@ class Project:
|
||||
print 'Unexpanding to rev', p.linkinfo.lsrcmd5
|
||||
rev = p.linkinfo.lsrcmd5
|
||||
elif p.islink() and p.isexpanded():
|
||||
rev = show_upstream_xsrcmd5(conf.config['apiurl'],
|
||||
rev = show_upstream_xsrcmd5(p.apiurl,
|
||||
p.prjname, p.name)
|
||||
p.update(rev)
|
||||
elif state == 'D':
|
||||
@ -2491,7 +2491,7 @@ def get_results(apiurl, prj, package):
|
||||
rmap['status'] += ': ' + statusnode.find('details').text
|
||||
|
||||
if rmap['status'] == 'failed':
|
||||
rmap['status'] += ': %s://%s' % (conf.config['scheme'], conf.config['apisrv']) + \
|
||||
rmap['status'] += ': %s' % apiurl + \
|
||||
'/result/%(prj)s/%(rep)s/%(pac)s/%(arch)s/log' % rmap
|
||||
|
||||
r.append(result_line_templ % rmap)
|
||||
|
Loading…
Reference in New Issue
Block a user