Commit f1478441 authored by Hanno Schlichting's avatar Hanno Schlichting

Make sure to keep MAX32 as an int

parent 2c2880f6
......@@ -51,7 +51,7 @@ else:
DSTOFFSET = STDOFFSET
DSTDIFF = DSTOFFSET - STDOFFSET
MAX32 = 2**31 - 1
MAX32 = int(2**31 - 1)
class LocalTimezone(tzinfo):
......
......@@ -37,7 +37,7 @@ from Products.PluginIndexes.common.util import parseIndexRequest
from Products.PluginIndexes.interfaces import IDateRangeIndex
_dtmldir = os.path.join( package_home( globals() ), 'dtml' )
MAX32 = 2**31 - 1
MAX32 = int(2**31 - 1)
class DateRangeIndex(UnIndex):
......
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