diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py index 6e02596cff22..fcfd8bc09a66 100644 --- a/nova/api/ec2/__init__.py +++ b/nova/api/ec2/__init__.py @@ -543,7 +543,6 @@ class Executor(wsgi.Application): def __call__(self, req): context = req.environ['nova.context'] api_request = req.environ['ec2.request'] - result = None try: result = api_request.invoke(context) except exception.InstanceNotFound as ex: