summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Cranford <ed.cranford@rackspace.com>2013-08-20 15:28:17 -0500
committerEd Cranford <ed.cranford@rackspace.com>2013-08-20 15:36:20 -0500
commit1d93be48969ec5a9634443c85d0a0986b2fd9063 (patch)
tree02803dc46fa3b854a26e8567f6f19e31e9e894de
parent901b02084f2927e18873eb76fa2aa1fcfde4f5ee (diff)
downloadtrove-1d93be48969ec5a9634443c85d0a0986b2fd9063.tar.gz
Reindenting a function call in taskman models
Change-Id: I3bc1c91ae6727a20f242c74dcaa68fd8c7e4a802
-rw-r--r--trove/taskmanager/models.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/trove/taskmanager/models.py b/trove/taskmanager/models.py
index ae5efd15..cba54f56 100644
--- a/trove/taskmanager/models.py
+++ b/trove/taskmanager/models.py
@@ -342,12 +342,9 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin):
userdata = f.read()
name = self.hostname or self.name
bdmap = block_device_mapping
- server = self.nova_client.servers.create(name, image_id, flavor_id,
- files=files,
- userdata=userdata,
- security_groups=
- security_groups,
- block_device_mapping=bdmap)
+ server = self.nova_client.servers.create(
+ name, image_id, flavor_id, files=files, userdata=userdata,
+ security_groups=security_groups, block_device_mapping=bdmap)
LOG.debug(_("Created new compute instance %s.") % server.id)
return server