From 823450339e8e934b583e66a09b6576d126460d5f Mon Sep 17 00:00:00 2001 From: Vishakha Agarwal Date: Mon, 3 Sep 2018 12:36:32 +0530 Subject: [PATCH] Removing unnecessary else The patch addresses the removal of 'else' written for if which is irrevalent. Change-Id: I538ae1380681ec1b0feb0505142549a2ba4eb458 --- tempest/cmd/run.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tempest/cmd/run.py b/tempest/cmd/run.py index a27425c2bf..84c6d9a828 100644 --- a/tempest/cmd/run.py +++ b/tempest/cmd/run.py @@ -160,8 +160,6 @@ class TempestRun(command.Command): sys.exit(2) if parsed_args.state: self._init_state() - else: - pass regex = self._build_regex(parsed_args) return_code = 0