summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-01-02 22:17:20 +0000
committerGerrit Code Review <review@openstack.org>2013-01-02 22:17:20 +0000
commitee01860ef51a4e809cf8d6b37c2a9250d8acf742 (patch)
tree46b815fab2e6a77064c10f1e5f4662e801269a22 /nova/api
parent8470da6c73f7b28a6ee6bd17c1dc802e9c105dcb (diff)
parent9e9ffb03cfea0e33b39639c74d1a75fc1cea8ee7 (diff)
downloadnova-ee01860ef51a4e809cf8d6b37c2a9250d8acf742.tar.gz
nova-ee01860ef51a4e809cf8d6b37c2a9250d8acf742.tar.xz
nova-ee01860ef51a4e809cf8d6b37c2a9250d8acf742.zip
Merge "Remove unused imports"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py
index 22771b589..f1ee0154e 100644
--- a/nova/api/ec2/__init__.py
+++ b/nova/api/ec2/__init__.py
@@ -331,7 +331,7 @@ class Requestify(wsgi.Middleware):
for non_arg in non_args:
# Remove, but raise KeyError if omitted
args.pop(non_arg)
- except KeyError, e:
+ except KeyError:
raise webob.exc.HTTPBadRequest()
except exception.InvalidRequest as err:
raise webob.exc.HTTPBadRequest(explanation=unicode(err))