diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-02-06 15:05:33 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-02-06 15:05:33 +0000 |
| commit | 50eae15777327745b2d87069922bf32c4f6f397c (patch) | |
| tree | ae5bb9e71fb63ac54ab5a48532482bdf1ab2e965 /openstack | |
| parent | 51bee3c7b53acca108f191a152a3783600d0f51a (diff) | |
| parent | 1461135c63403a274771cf64989067ba921f1794 (diff) | |
| download | oslo-50eae15777327745b2d87069922bf32c4f6f397c.tar.gz oslo-50eae15777327745b2d87069922bf32c4f6f397c.tar.xz oslo-50eae15777327745b2d87069922bf32c4f6f397c.zip | |
Merge "timeutils: considers that now is soon"
Diffstat (limited to 'openstack')
| -rw-r--r-- | openstack/common/timeutils.py | 2 |
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 |
