summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2012-12-26 23:42:14 +0000
committerJoe Gordon <jogo@cloudscaling.com>2012-12-27 19:15:24 +0000
commit9e9ffb03cfea0e33b39639c74d1a75fc1cea8ee7 (patch)
treeb883d68cc32ffc701c12de52c7ffada2fbc49551 /nova/api
parent094d6b294bec70501f9bbdce3df63c8a328e06bf (diff)
Remove unused imports
And one unused variable Change-Id: I81edaf7ddedd7723c2601b30951ca82bd2cd5256
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))