From 9e9ffb03cfea0e33b39639c74d1a75fc1cea8ee7 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 26 Dec 2012 23:42:14 +0000 Subject: Remove unused imports And one unused variable Change-Id: I81edaf7ddedd7723c2601b30951ca82bd2cd5256 --- nova/api/ec2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') 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)) -- cgit