Comply with new hacking release

Another couple of small issues to pass all PEP8 tests in
the new hacking release

Change-Id: I0d8aebdb27b03630b6de2186d32f58b3d6a1957d
This commit is contained in:
Ghe Rivero 2013-11-15 17:22:12 +00:00
parent f5823b20bc
commit cbcf322895
2 changed files with 4 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def do_node_delete(cc, args):
cc.node.delete(n)
except exc.HTTPNotFound:
raise exc.CommandError(_('Node not found: %s') % n)
print _('Deleted node %s') % n
print(_('Deleted node %s') % n)
@utils.arg('node',

View File

@ -34,3 +34,6 @@ commands = {posargs}
ignore = E12
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
[hacking]
import_exceptions = testtools.matchers