Commit 43be9356 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Merges lines.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2233 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5f7c8d09
...@@ -192,8 +192,8 @@ class TransactionManager(object): ...@@ -192,8 +192,8 @@ class TransactionManager(object):
# This should not happen usually. # This should not happen usually.
from datetime import timedelta, datetime from datetime import timedelta, datetime
d = datetime(gmt.tm_year, gmt.tm_mon, gmt.tm_mday, d = datetime(gmt.tm_year, gmt.tm_mon, gmt.tm_mday,
gmt.tm_hour, gmt.tm_min) + timedelta(0, 60)
gmt.tm_hour, gmt.tm_min) \ gmt.tm_hour, gmt.tm_min) \
+ timedelta(0, 60)
upper = ((((d.year - 1900) * 12 + d.month - 1) * 31 \ upper = ((((d.year - 1900) * 12 + d.month - 1) * 31 \
+ d.day - 1) * 24 + d.hour) * 60 + d.minute + d.day - 1) * 24 + d.hour) * 60 + d.minute
lower = 0 lower = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment