summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/compute/api.py2
-rw-r--r--nova/tests/test_cloud.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 18363ace0..979a29de6 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -298,8 +298,6 @@ class API(base.Base):
return instance
-
-
def _ask_scheduler_to_create_instance(self, context, base_options,
instance_type, zone_blob,
availability_zone, injected_files,
diff --git a/nova/tests/test_cloud.py b/nova/tests/test_cloud.py
index 6a6256c20..09e26df4c 100644
--- a/nova/tests/test_cloud.py
+++ b/nova/tests/test_cloud.py
@@ -671,7 +671,7 @@ class CloudTestCase(test.TestCase):
'max_count': 1,
'block_device_mapping': [{'device_name': '/dev/vdb',
'volume_id': vol1['id'],
- 'delete_on_termination': False,},
+ 'delete_on_termination': False, },
{'device_name': '/dev/vdc',
'volume_id': vol2['id'],
'delete_on_termination': True, },