mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-31 20:26:13 +01:00
Merge branch 'patch-2' of https://github.com/jnweiger/osc
Fix UnboundLocalError in do_submitrequest.
This commit is contained in:
commit
c2a4d14c42
@ -1228,7 +1228,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
sr_ids.append(result)
|
sr_ids.append(result)
|
||||||
else:
|
else:
|
||||||
s = """<action type="submit"> <source project="%s" package="%s" /> <target project="%s" package="%s" /> %s </action>""" % \
|
s = """<action type="submit"> <source project="%s" package="%s" /> <target project="%s" package="%s" /> %s </action>""" % \
|
||||||
(project, p, t, p, options_block)
|
(project, p, target_project, p, options_block)
|
||||||
actionxml += s
|
actionxml += s
|
||||||
|
|
||||||
if actionxml != "":
|
if actionxml != "":
|
||||||
|
Loading…
Reference in New Issue
Block a user