mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
- core.edit_submitrequest: fixed (logic) typo
This commit is contained in:
parent
77f9030016
commit
1176983a9a
@ -6526,7 +6526,7 @@ def edit_submitrequest(apiurl, project, orequest, new_request=None):
|
||||
import tempfile, shutil
|
||||
actions = orequest.get_actions('submit')
|
||||
oactions = actions
|
||||
if not orequest is None:
|
||||
if new_request is not None:
|
||||
actions = new_request.get_actions('submit')
|
||||
num = 0
|
||||
if len(actions) > 1:
|
||||
|
Loading…
Reference in New Issue
Block a user