From 1176983a9a5cf947a27b7a308a12d56d84ed6be9 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Wed, 28 Aug 2013 23:03:25 +0200 Subject: [PATCH] - core.edit_submitrequest: fixed (logic) typo --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 563f698a..c3aae67f 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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: