From c1f3735e32c61ffedb04bdc542a142ac04f6dbd7 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Mon, 13 Jun 2016 11:04:28 +0200 Subject: Fix flake8 violations Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme --- testcases/Controllers/ODL/odlreport2db.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'testcases/Controllers/ODL/odlreport2db.py') diff --git a/testcases/Controllers/ODL/odlreport2db.py b/testcases/Controllers/ODL/odlreport2db.py index 028808411..3eff40060 100644 --- a/testcases/Controllers/ODL/odlreport2db.py +++ b/testcases/Controllers/ODL/odlreport2db.py @@ -24,11 +24,9 @@ import getopt import json -import os import sys import time import xmltodict -import yaml import functest.utils.functest_utils as functest_utils @@ -122,11 +120,6 @@ def main(argv): json.dumps(data, indent=4, separators=(',', ': ')) - # Only used from container, we can set up absolute path - with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: - functest_yaml = yaml.safe_load(f) - f.close() - try: # example: # python odlreport2db.py -x ~/Pictures/Perso/odl/output3.xml -- cgit 1.2.3-korg