mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
more code cleanup
This commit is contained in:
parent
85680fe96c
commit
ff2c227550
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue