Log message for revision 115501: Make sure to keep MAX32 as an int Changed: U Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py U Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
-=- Modified: Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py =================================================================== --- Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py 2010-08-05 15:38:04 UTC (rev 115500) +++ Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py 2010-08-05 15:43:36 UTC (rev 115501) @@ -51,7 +51,7 @@ DSTOFFSET = STDOFFSET DSTDIFF = DSTOFFSET - STDOFFSET -MAX32 = 2**31 - 1 +MAX32 = int(2**31 - 1) class LocalTimezone(tzinfo): Modified: Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py =================================================================== --- Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 2010-08-05 15:38:04 UTC (rev 115500) +++ Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 2010-08-05 15:43:36 UTC (rev 115501) @@ -37,7 +37,7 @@ 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): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins