summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKingPoo <haojingbo@huawei.com>2016-11-22 15:58:25 +0800
committerKingPoo <haojingbo@huawei.com>2016-11-22 15:58:25 +0800
commit30cbfa9378c23744fe2024b6ac1e424afa82bb15 (patch)
tree8400ebe6eab298527682e7d698b2ba24fac1b6d7 /util
parentb15421ac53b8f57011613e29505cd8c0275b5066 (diff)
Improve compass ci verification--clear all flake8 warnings & errors of compass4nfv
JIRA: COMPASS-494 Change-Id: Iec4664a376100f2a0f5fe6c46c1a45360f9c2324 Signed-off-by: KingPoo <haojingbo@huawei.com>
Diffstat (limited to 'util')
-rw-r--r--util/check_valid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/check_valid.py b/util/check_valid.py
index 36d74ba4..5b3a8ab3 100644
--- a/util/check_valid.py
+++ b/util/check_valid.py
@@ -101,7 +101,7 @@ def check_dha_file(dha):
hosts:
- name: %s
interfaces:
- - %s: %s''' % (i['name'], j.keys()[0], j.values()[0]))
+ - %s: %s''' % (i['name'], j.keys()[0], j.values()[0])) # noqa: E501
invalid = True
if not is_valid_ip(i['ipmiIp']):
err_print('''invalid address: