mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06:15 +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)
|
||||
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 != "":
|
||||
|
Loading…
Reference in New Issue
Block a user