diff options
author | Konstantin Ryabitsev <mricon@kernel.org> | 2013-06-13 10:50:56 -0400 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-06-16 16:54:07 +0800 |
commit | 3c9319711a8b4cc91016043f80129362ab438dfc (patch) | |
tree | 65b05ee5134b80e2d07c5e00a841170a55d3f176 /apps/settings.py | |
parent | 508510d29aa7b0aaf946f6565e8040f9895f84c8 (diff) | |
download | patchwork-3c9319711a8b4cc91016043f80129362ab438dfc.tar.bz2 patchwork-3c9319711a8b4cc91016043f80129362ab438dfc.tar.xz |
Don't use total_seconds for python < 2.7
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).
Signed-off-by: Konstantin Ryabitsev <mricon@kernel.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/settings.py')
0 files changed, 0 insertions, 0 deletions