diff options
author | Josh Kearney <josh@jk0.org> | 2011-03-23 16:56:54 -0500 |
---|---|---|
committer | Josh Kearney <josh@jk0.org> | 2011-03-23 16:56:54 -0500 |
commit | b3a8c70304672abe9b461c6cfeed3e8b517ca0b6 (patch) | |
tree | c6fa7061f7bc257ba8905268202a96d187d03a33 /nova/utils.py | |
parent | 83e519b734078d8214fa0dc1d518607c7c0b244a (diff) | |
download | nova-b3a8c70304672abe9b461c6cfeed3e8b517ca0b6.tar.gz nova-b3a8c70304672abe9b461c6cfeed3e8b517ca0b6.tar.xz nova-b3a8c70304672abe9b461c6cfeed3e8b517ca0b6.zip |
Added docstring
Diffstat (limited to 'nova/utils.py')
-rw-r--r-- | nova/utils.py | 1 |
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: |