[PATCH] Don't use total_seconds for python < 2.7

Jeremy Kerr jk at ozlabs.org
Thu Jun 27 23:16:16 EST 2013


Hi Konstantin,

> The total_seconds function was added to datetime in python-2.7. For
> compatibility with previous versions of python, use its suggested
> equivalent (except drop microseconds, since we don't care about them in
> this context).

Thanks for that - applied.

Cheers,


Jeremy



More information about the Patchwork mailing list