summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/utils.py b/nova/utils.py
index 38cdb8021..bf1aa4a91 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -335,6 +335,7 @@ utcnow.override_time = None
def is_then_greater(then, seconds):
+ """Return True of 'then' is greater than 'seconds'"""
if utcnow() - then > datetime.timedelta(seconds=seconds):
return True
else: