1
0
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:
Marcus Huewe 2013-08-28 23:03:25 +02:00
parent 77f9030016
commit 1176983a9a

View File

@ -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: