Skip to content
Snippets Groups Projects
Unverified Commit c99ac4a2 authored by Dashie's avatar Dashie
Browse files

py3: xrange is now range

parent e8c2fb54
No related branches found
No related tags found
No related merge requests found
......@@ -125,8 +125,8 @@ class PacketRelatedMapSectorsPolicy():
# lat interval: 0 - 18000000
# lng interval: 0 - 00003600
# Maybe we can do this smarter? Currently we are adding many map-sectors that is not relevant
for lat in xrange(minLat, maxLat, 20000):
for lng in xrange(minLng, maxLng, 5):
for lat in range(minLat, maxLat, 20000):
for lng in range(minLng, maxLng, 5):
mapSectorAreaCode = lat+lng
if (mapSectorAreaCode != prevPacketAreaCode and mapSectorAreaCode != newPacketAreaCode):
relatedMapSectors.append(mapSectorAreaCode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment