[bug 1050766] Fixed. total_seconds() is new in python 2.7. #oops