1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-29 03:06:15 +01:00
Fix UnboundLocalError in do_submitrequest.
This commit is contained in:
Marcus Huewe 2017-09-01 09:45:35 +02:00
commit c2a4d14c42

View File

@ -1228,7 +1228,7 @@ class Osc(cmdln.Cmdln):
sr_ids.append(result)
else:
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
if actionxml != "":