more code cleanup

This commit is contained in:
Michael James 2018-10-16 13:54:22 -06:00
parent 85680fe96c
commit ff2c227550
2 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,7 @@ def deserialize(context):
geoData = []
size = context.readI32()
for i in range(size):
for __ in range(size):
data = GeometryResponseData()
# wkb index
wkbIndex = context.readI32()

View file

@ -21,9 +21,9 @@ class TimeConstraints(object):
else:
if self.isInvalidInterval(repeatInterval, duration, startTime):
logging.warning("Bad init values for TimeConstraints: "
+ self.duration + ", "
+ self.repeatInterval + ", "
+ self.startTime)
+ str(duration) + ", "
+ str(repeatInterval) + ", "
+ str(startTime))
self.valid = False
duration = 0
repeatInterval = 0