]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Noticed some pep8 errors, fixed them.
authorSumit Naiksatam <snaiksat@cisco.com>
Wed, 24 Aug 2011 10:27:54 +0000 (03:27 -0700)
committerSumit Naiksatam <snaiksat@cisco.com>
Wed, 24 Aug 2011 10:27:54 +0000 (03:27 -0700)
quantum/plugins/cisco/nova/quantum_aware_scheduler.py
quantum/plugins/cisco/nova/vifdirect.py

index 4d30ccd4a1a727f6413f4d138345834571581fc3..0f73618ee05a58040addf7ca93a6f90218fb1793 100644 (file)
@@ -79,8 +79,7 @@ class QuantumScheduler(driver.Scheduler):
                  {'instance_id': instance_id,
                   'instance_desc': \
                   {'user_id': user_id,
-                   'project_id': project_id
-                  }}}
+                   'project_id': project_id}}}
 
         client = Client(HOST, PORT, USE_SSL, format='json', tenant=TENANT_ID,
                         action_prefix=ACTION_PREFIX_CSCO)
@@ -93,5 +92,5 @@ class QuantumScheduler(driver.Scheduler):
                                        " for this request. Is the appropriate"
                                        " service running?"))
 
-        LOG.debug(_("Quantum service returned host: %s\n") % hostname)
+        LOG.debug(_("Quantum service returned host: %s") % hostname)
         return hostname
index 6581c32f3cd8097a75164ebdc3114ee7c5c13a3e..c1fd09af46fcb42627a5ec93b88cb0207e32ac3f 100644 (file)
@@ -83,8 +83,7 @@ class Libvirt802dot1QbhDriver(VIFDriver):
                   'instance_desc': \
                   {'user_id': user_id,
                    'project_id': project_id,
-                   'vif_id': vif_id
-                  }}}
+                   'vif_id': vif_id}}}
 
         client = Client(HOST, PORT, USE_SSL, format='json', tenant=TENANT_ID,
                         action_prefix=ACTION_PREFIX_CSCO)