diff --git a/novaclient/v1_1/shell.py b/novaclient/v1_1/shell.py index a08f92aad..ad1a23e16 100644 --- a/novaclient/v1_1/shell.py +++ b/novaclient/v1_1/shell.py @@ -507,7 +507,7 @@ def _poll_for_status(poll_fn, obj_id, action, final_ok_states, sys.stdout.flush() if not silent: - print + print() while True: obj = poll_fn(obj_id) diff --git a/novaclient/v3/shell.py b/novaclient/v3/shell.py index aa57ad8c9..44665a928 100644 --- a/novaclient/v3/shell.py +++ b/novaclient/v3/shell.py @@ -353,7 +353,7 @@ def _poll_for_status(poll_fn, obj_id, action, final_ok_states, sys.stdout.flush() if not silent: - print + print() while True: obj = poll_fn(obj_id) diff --git a/tox.ini b/tox.ini index d3a51ea9e..8b2408de1 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ downloadcache = ~/cache/pip [flake8] # TODO fix following rules from hacking 0.9 -# E131,E265,H233,H402,H405,H904 -ignore = E12,E131,E265,F811,F821,H233,H302,H402,H404,H405,H904 +# E131,E265,H402,H405,H904 +ignore = E12,E131,E265,F811,F821,H302,H402,H404,H405,H904 show-source = True exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build