libkas: Remove redundant local var initialization

retc is already initialized via loop.run_until_complete().

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2017-06-26 16:07:55 +02:00 committed by Daniel Wagner
parent 9a300046e6
commit 40ddeafa22

View File

@ -119,7 +119,6 @@ def run_cmd(cmd, cwd, env=None, fail=True, shell=False, liveupdate=True):
# pylint: disable=too-many-arguments
env = env or {}
retc = 0
cmdstr = cmd
if not shell:
cmdstr = ' '.join(cmd)