Python 3: replace sys.maxint with sys.maxsize
sys.maxint has been removed in Python 3. Change-Id: I1f523310135cbfc44014dfef4267c14bcadbd0a3
This commit is contained in:
parent
253a6288e8
commit
9b50ac02e2
@ -376,7 +376,7 @@ class Connection(pymongo_base.Connection):
|
||||
|
||||
for key, grouped_meters in itertools.groupby(meters, key=_group_key):
|
||||
stat = models.Statistics(unit=None,
|
||||
min=sys.maxint, max=-sys.maxint,
|
||||
min=sys.maxsize, max=-sys.maxsize,
|
||||
avg=0, sum=0, count=0,
|
||||
period=0, period_start=0, period_end=0,
|
||||
duration=0, duration_start=0,
|
||||
|
Loading…
Reference in New Issue
Block a user