fix for issue #14655
Fix for python 2.6 not having timedelta.total_seconds()
Merge pull request #14767 from saltstack/bp-14656

Backport #14656 to 2014.7