summaryrefslogtreecommitdiff
path: root/logilab/common/date.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/date.py')
-rw-r--r--logilab/common/date.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/logilab/common/date.py b/logilab/common/date.py
index 769ab16..c65c9dd 100644
--- a/logilab/common/date.py
+++ b/logilab/common/date.py
@@ -344,8 +344,7 @@ def utctime(dt):
def datetime_to_seconds(date):
- """return the number of seconds since the begining of the day for that date
- """
+ """return the number of seconds since the begining of the day for that date"""
return date.second + 60 * date.minute + 3600 * date.hour