diff options
| author | Joe Gordon <jogo@cloudscaling.com> | 2012-12-26 23:42:14 +0000 |
|---|---|---|
| committer | Joe Gordon <jogo@cloudscaling.com> | 2012-12-27 19:15:24 +0000 |
| commit | 9e9ffb03cfea0e33b39639c74d1a75fc1cea8ee7 (patch) | |
| tree | b883d68cc32ffc701c12de52c7ffada2fbc49551 /nova/api | |
| parent | 094d6b294bec70501f9bbdce3df63c8a328e06bf (diff) | |
Remove unused imports
And one unused variable
Change-Id: I81edaf7ddedd7723c2601b30951ca82bd2cd5256
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/__init__.py | 2 |
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)) |
