heat/heat
Zane Bitter f3f05c9a3f Deal correctly with negative elapsed time
Since we're comparing local time to database time, we need to correctly
handle negative offsets to account for clock skew. The datetime.timedelta
class always reports a positive number of seconds, but with a possibly
negative number of *days*. Therefore, take the days into account.

Change-Id: I4422e4cf41cb57cdc89548d01b0abc27cda914ef
Closes-Bug: #1688327
2017-05-04 18:59:57 -04:00
..
api Remove log translations 2017-03-25 17:11:50 +08:00
cloudinit Validate that python3 is ready for loguserdata 2016-08-26 11:49:30 +00:00
cmd Remove log translations 2017-03-25 17:11:50 +08:00
common Include template url in nested stack parse error 2017-04-27 09:11:49 +05:30
db Low-level db delete of events should be synchronous 2017-04-25 09:18:25 -07:00
engine Deal correctly with negative elapsed time 2017-05-04 18:59:57 -04:00
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Remove log translations 2017-03-25 17:11:50 +08:00
locale Imported Translations from Zanata 2017-05-02 10:32:02 +00:00
objects Consolidate resource locking with state changes 2017-04-25 08:21:42 -07:00
rpc Merge "Use exception_filter in RPC client" 2017-03-29 13:46:53 +00:00
scaling Remove log translations 2017-03-25 17:11:50 +08:00
tests Deal correctly with negative elapsed time 2017-05-04 18:59:57 -04:00
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
version.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00