summaryrefslogtreecommitdiff
path: root/nova/api/ec2
diff options
context:
space:
mode:
authorSergey Nikitin <snikitin@mirantis.com>2015-04-29 13:43:00 +0300
committerSergey Nikitin <snikitin@mirantis.com>2015-04-29 14:29:20 +0300
commitd1af9cbe0187e1a65cf1eb46fb1650cf619a7b3a (patch)
tree61c9137390330be82254a4ca76a466d9cf7bc2f8 /nova/api/ec2
parente4e74150b26ee890ea6379939c9256b06626e350 (diff)
downloadnova-d1af9cbe0187e1a65cf1eb46fb1650cf619a7b3a.tar.gz
Removed variables used not in the scope that they are declared
Co-Author: Pavel Kholkin <pkholkin@mirantis.com> Change-Id: I577dfdf7f65a0c883ddbcfda62daf8c5f9c746c1
Diffstat (limited to 'nova/api/ec2')
-rw-r--r--nova/api/ec2/ec2utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/api/ec2/ec2utils.py b/nova/api/ec2/ec2utils.py
index 2e2eef8a4b..5e6322f606 100644
--- a/nova/api/ec2/ec2utils.py
+++ b/nova/api/ec2/ec2utils.py
@@ -257,7 +257,6 @@ def is_ec2_timestamp_expired(request, expires=None):
"""Checks the timestamp or expiry time included in an EC2 request
and returns true if the request is expired
"""
- query_time = None
timestamp = request.get('Timestamp')
expiry_time = request.get('Expires')