diff options
| author | Mark Washenberger <mark.washenberger@rackspace.com> | 2011-03-06 10:41:24 -0500 |
|---|---|---|
| committer | Mark Washenberger <mark.washenberger@rackspace.com> | 2011-03-06 10:41:24 -0500 |
| commit | 7af17cbef6f3e1c5b052133e40e0edbd8ca9ffb3 (patch) | |
| tree | 0cc8fd497fb0d61a736ff43c30465a459d0790ec /nova/api | |
| parent | 10668b87f46a1fb5d039f6e7d7a7a55b89d7602a (diff) | |
select cleanups
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index 7c620dbc6..93f504f91 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -153,7 +153,7 @@ class Controller(wsgi.Controller): try: path = item['path'] contents = item['contents'] - except KeyError, key: + except KeyError as key: expl = 'Bad personality format: missing %s' % key raise exc.HTTPBadRequest(explanation=expl) except TypeError: |
