summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/timeutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/timeutils.py b/openstack/common/timeutils.py
index 5a011e8..e2c2740 100644
--- a/openstack/common/timeutils.py
+++ b/openstack/common/timeutils.py
@@ -179,4 +179,4 @@ def is_soon(dt, window):
:return: True if expiration is within the given duration
"""
soon = (utcnow() + datetime.timedelta(seconds=window))
- return normalize_time(dt) < soon
+ return normalize_time(dt) <= soon