aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/reset_compute.py
diff options
context:
space:
mode:
authorKingPoo <haojingbo@huawei.com>2016-11-14 02:16:24 -0500
committerJustin chi <chigang@huawei.com>2016-11-15 03:20:08 +0000
commitb15421ac53b8f57011613e29505cd8c0275b5066 (patch)
tree8ca3717d0f38c8ae7d19062b0f08f9b41b865f29 /deploy/reset_compute.py
parenta099404ead9151b529de1e1e960cac6e67937ad0 (diff)
Repair Flake8's warnings & errors
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
Diffstat (limited to 'deploy/reset_compute.py')
-rw-r--r--deploy/reset_compute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/reset_compute.py b/deploy/reset_compute.py
index d47f462f..f27670bf 100644
--- a/deploy/reset_compute.py
+++ b/deploy/reset_compute.py
@@ -32,7 +32,7 @@ def reset_baremetal(dha_info):
print ipmiPass
print ipmiIp
exec_cmd(
- "ipmitool -I lanplus -H %s -U %s -P %s chassis power reset >/dev/null" %
+ "ipmitool -I lanplus -H %s -U %s -P %s chassis power reset >/dev/null" % # noqa
(ipmiIp, ipmiUser, ipmiPass))