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:
parent
9a300046e6
commit
40ddeafa22
@ -119,7 +119,6 @@ def run_cmd(cmd, cwd, env=None, fail=True, shell=False, liveupdate=True):
|
|||||||
# pylint: disable=too-many-arguments
|
# pylint: disable=too-many-arguments
|
||||||
|
|
||||||
env = env or {}
|
env = env or {}
|
||||||
retc = 0
|
|
||||||
cmdstr = cmd
|
cmdstr = cmd
|
||||||
if not shell:
|
if not shell:
|
||||||
cmdstr = ' '.join(cmd)
|
cmdstr = ' '.join(cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user