aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-05 13:21:59 +0100
committerMarco Platania <platania@research.att.com>2020-03-05 15:27:02 +0000
commit23f22e8e8ca50c862d1cece31a0a87050685cdd7 (patch)
treec2b8c3b79ecc4efeb84e5ccd1a5e86f5addd7fa5 /test/vcpe/preload.py
parent37fe1c2e88838760a733fbf1129067685ad7a6ea (diff)
Fix Python linting issues in Python scripts
Fixed pylint issues for categories len-as-condition, using-constant-test, undefined-variable and reimported. Change-Id: Idad710958c3ca0ac6da78fb4709da03e5f079b34 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/vcpe/preload.py')
-rwxr-xr-xtest/vcpe/preload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index 117b63ec6..62c036c83 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -26,7 +26,7 @@ class Preload:
with open(template_file) as json_input:
json_data = json.load(json_input)
stk = [json_data]
- while len(stk) > 0:
+ while stk:
data = stk.pop()
for k, v in data.items():
if type(v) is dict: