mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-05 07:03:38 +02:00
submitreq entire project fix
`osc submitreq TARGETPROJ` bails out with unbound variable t. This is true. the variable should be target_project.
This commit is contained in:
@@ -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 != "":
|
||||
|
Reference in New Issue
Block a user