diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-02 22:17:20 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-02 22:17:20 +0000 |
| commit | ee01860ef51a4e809cf8d6b37c2a9250d8acf742 (patch) | |
| tree | 46b815fab2e6a77064c10f1e5f4662e801269a22 /nova/api | |
| parent | 8470da6c73f7b28a6ee6bd17c1dc802e9c105dcb (diff) | |
| parent | 9e9ffb03cfea0e33b39639c74d1a75fc1cea8ee7 (diff) | |
| download | nova-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__.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)) |
