1
0
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:
Jürgen Weigert
2017-08-31 14:58:22 +02:00
committed by GitHub
parent e0bce5652a
commit 2e6c838d66

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 != "":