From ff2c227550f2a0059b138df98ee64a0ad660fbdc Mon Sep 17 00:00:00 2001 From: Michael James Date: Tue, 16 Oct 2018 13:54:22 -0600 Subject: [PATCH] more code cleanup --- dynamicserialize/adapters/GeomDataRespAdapter.py | 2 +- .../uf/common/dataplugin/gfe/db/objects/TimeConstraints.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dynamicserialize/adapters/GeomDataRespAdapter.py b/dynamicserialize/adapters/GeomDataRespAdapter.py index 13df3fa..9480fb8 100644 --- a/dynamicserialize/adapters/GeomDataRespAdapter.py +++ b/dynamicserialize/adapters/GeomDataRespAdapter.py @@ -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() diff --git a/dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/db/objects/TimeConstraints.py b/dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/db/objects/TimeConstraints.py index 7324d66..be1fd51 100644 --- a/dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/db/objects/TimeConstraints.py +++ b/dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/db/objects/TimeConstraints.py @@ -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