libkas: Disable not-an-itable false positive

pylint has a bug:

https://github.com/PyCQA/pylint/issues/996

Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
This commit is contained in:
Daniel Wagner 2018-07-18 15:15:12 +02:00
parent d6110a175c
commit 06f0c20f21

View File

@ -88,6 +88,10 @@ def run_cmd_async(cmd, cwd, env=None, fail=True, shell=False, liveupdate=True):
"""
# pylint: disable=too-many-arguments
# Disable incorrect warning on asyncio.wait_for,
# https://github.com/PyCQA/pylint/issues/996.
# pylint: disable=not-an-iterable
env = env or {}
cmdstr = cmd
if not shell: