diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-03-09 12:32:15 -0500 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-03-09 12:32:15 -0500 |
| commit | eadce208c55513ddbab550898e641b8ee55a67ec (patch) | |
| tree | d60eeb5ad04f73e75bead280c12c085bf9f31479 | |
| parent | 0f45b59ca6f9502a3ae6578e2fca5a7d9575ae5e (diff) | |
| download | nova-eadce208c55513ddbab550898e641b8ee55a67ec.tar.gz nova-eadce208c55513ddbab550898e641b8ee55a67ec.tar.xz nova-eadce208c55513ddbab550898e641b8ee55a67ec.zip | |
Fix spacing.
| -rw-r--r-- | nova/api/openstack/servers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index bbedd7c63..7222285e0 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -84,11 +84,13 @@ def _translate_detail_keys(inst): return dict(server=inst_dict) + def _translate_keys(inst): """ Coerces into dictionary format, excluding all model attributes save for id and name """ return dict(server=dict(id=inst['id'], name=inst['display_name'])) + class Controller(wsgi.Controller): """ The Server API controller for the OpenStack API """ |
