Merge "Fix H702 pep8 error with latest hacking"
This commit is contained in:
@@ -248,10 +248,10 @@ class MetadataRequestHandler(wsgi.Application):
|
||||
|
||||
if len(ports) != 1:
|
||||
msg = _('Expected a single port matching provider %(pr)s '
|
||||
'and IP %(ip)s. Found %(count)d.' % {
|
||||
'and IP %(ip)s. Found %(count)d.') % {
|
||||
'pr': provider_id,
|
||||
'ip': instance_address,
|
||||
'count': len(ports)})
|
||||
'count': len(ports)}
|
||||
|
||||
LOG.error(msg)
|
||||
raise webob.exc.HTTPBadRequest(explanation=msg)
|
||||
|
||||
Reference in New Issue
Block a user