summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Carrez <thierry@openstack.org>2011-06-17 22:32:17 +0200
committerThierry Carrez <thierry@openstack.org>2011-06-17 22:32:17 +0200
commita0ab4e7f141ccf14caca23f15eed5408079a58d0 (patch)
treea459f8197630f470263124b676830a2f38a6c31f
parent6855066ab0e432d7a77d6beb0fa7bda7e125ae9b (diff)
downloadnova-a0ab4e7f141ccf14caca23f15eed5408079a58d0.tar.gz
nova-a0ab4e7f141ccf14caca23f15eed5408079a58d0.tar.xz
nova-a0ab4e7f141ccf14caca23f15eed5408079a58d0.zip
Fix PEP8
-rw-r--r--nova/api/ec2/cloud.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index 4a2387a0a..eb7ec2b80 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -967,7 +967,8 @@ class CloudController(object):
changes[field] = kwargs[field]
if changes:
instance_id = ec2utils.ec2_id_to_id(instance_id)
- self.compute_api.update(context, instance_id=instance_id, **changes)
+ self.compute_api.update(context, instance_id=instance_id,
+ **changes)
return True
@staticmethod