Fix pep8 issues

Change-Id: I59905717b7892b7718b4d7bcb0985a1ac82b087f
This commit is contained in:
Bruno Cornec 2017-03-07 20:04:13 +01:00
parent ea995f722a
commit 7305242d99
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ except redfish.exception.RedfishException as e:
sys.stderr.write(str(e.advices))
sys.exit(1)
print ("Redfish API version : %s \n" % remote_mgmt.get_api_version())
print("Redfish API version : %s \n" % remote_mgmt.get_api_version())
# Uncomment following line to reset the blade !!!
# remote_mgmt.Systems.systems_dict["1"].reset_system()

View File

@ -28,7 +28,7 @@ commands = python setup.py build_sphinx
show-source = True
ignore = E123,E125
builtins = _
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,pbbuild,pbdelivery,pbconf,python-redfish-[01]*
[testenv:venv]
setenv = PYTHONHASHSEED=0