#488 removing dependency from total_seconds() function of timedelta, not supported in python 2.6