summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-03-23 16:56:54 -0500
committerJosh Kearney <josh@jk0.org>2011-03-23 16:56:54 -0500
commitb3a8c70304672abe9b461c6cfeed3e8b517ca0b6 (patch)
treec6fa7061f7bc257ba8905268202a96d187d03a33 /nova/utils.py
parent83e519b734078d8214fa0dc1d518607c7c0b244a (diff)
downloadnova-b3a8c70304672abe9b461c6cfeed3e8b517ca0b6.tar.gz
nova-b3a8c70304672abe9b461c6cfeed3e8b517ca0b6.tar.xz
nova-b3a8c70304672abe9b461c6cfeed3e8b517ca0b6.zip
Added docstring
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: