From 7f21679413737f655de6d6939a37ee37aabf775a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 21 May 2014 15:45:07 +0200 Subject: [PATCH] - do not forward requests if accept fails (issue 91) --- osc/commandline.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/commandline.py b/osc/commandline.py index b465013c..cb707603 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -2322,6 +2322,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. print('Revoking it ...') r = change_request_state(apiurl, reqid, 'revoked', opts.message or '', supersed=supersedid, force=opts.force) + sys.exit(1) + # check for devel instances after accepted requests if cmd in ['accept']: