Merge "Removed extra spaces from double line strings"

This commit is contained in:
Jenkins
2015-11-18 01:31:45 +00:00
committed by Gerrit Code Review
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -2623,7 +2623,7 @@ class API(base.Base):
current_instance_type_name = current_instance_type['name']
new_instance_type_name = new_instance_type['name']
LOG.debug("Old instance type %(current_instance_type_name)s, "
" new instance type %(new_instance_type_name)s",
"new instance type %(new_instance_type_name)s",
{'current_instance_type_name': current_instance_type_name,
'new_instance_type_name': new_instance_type_name},
instance=instance)
+6 -6
View File
@@ -127,9 +127,9 @@ class TestWSGIServer(test.NoDBTestCase):
server.stop()
server.wait()
@testtools.skipIf(not utils.is_linux(), 'SO_REUSEADDR behaves differently'
' on OSX and BSD, see bugs '
' 1436895 and 1467145')
@testtools.skipIf(not utils.is_linux(), 'SO_REUSEADDR behaves differently '
'on OSX and BSD, see bugs '
'1436895 and 1467145')
def test_socket_options_for_simple_server(self):
# test normal socket options has set properly
self.flags(tcp_keepidle=500)
@@ -291,9 +291,9 @@ class TestWSGIServerWithSSL(test.NoDBTestCase):
fake_ssl_server.stop()
fake_ssl_server.wait()
@testtools.skipIf(not utils.is_linux(), 'SO_REUSEADDR behaves differently'
' on OSX and BSD, see bugs '
' 1436895 and 1467145')
@testtools.skipIf(not utils.is_linux(), 'SO_REUSEADDR behaves differently '
'on OSX and BSD, see bugs '
'1436895 and 1467145')
def test_socket_options_for_ssl_server(self):
# test normal socket options has set properly
self.flags(tcp_keepidle=500)
+1 -1
View File
@@ -351,7 +351,7 @@ class VMOps(object):
'hw_machine_type', default_vm_gen)
if image_prop_vm not in self._hostutils.get_supported_vm_types():
LOG.error(_LE('Requested VM Generation %s is not supported on '
' this OS.'), image_prop_vm)
'this OS.'), image_prop_vm)
raise vmutils.HyperVException(
_('Requested VM Generation %s is not supported on this '
'OS.') % image_prop_vm)
+1 -1
View File
@@ -5600,7 +5600,7 @@ class LibvirtDriver(driver.ComputeDriver):
(CONF.spice.enabled and not dest_local_spice)):
LOG.warn(_LW('Your libvirt version does not support the'
' VIR_DOMAIN_XML_MIGRATABLE flag, and the '
' VIR_DOMAIN_XML_MIGRATABLE flag, and the'
' graphics (VNC and/or SPICE) listen'
' addresses on the destination node do not'
' match the addresses on the source node.'
+1 -1
View File
@@ -1689,7 +1689,7 @@ class VMwareVMOps(object):
attach_config_spec)
except Exception as e:
LOG.error(_LE('Attaching network adapter failed. Exception: '
' %s'),
'%s'),
e, instance=instance)
raise exception.InterfaceAttachFailed(
instance_uuid=instance.uuid)