From e736e7ab6fee443df3cccb60172f593b403501fe Mon Sep 17 00:00:00 2001 From: Michael James Date: Mon, 15 Oct 2018 17:14:55 -0600 Subject: [PATCH] logic cleanup return after an else --- .../uf/common/dataaccess/response/AbstractResponseData.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dynamicserialize/dstypes/com/raytheon/uf/common/dataaccess/response/AbstractResponseData.py b/dynamicserialize/dstypes/com/raytheon/uf/common/dataaccess/response/AbstractResponseData.py index 43fc70a..7fe05a7 100644 --- a/dynamicserialize/dstypes/com/raytheon/uf/common/dataaccess/response/AbstractResponseData.py +++ b/dynamicserialize/dstypes/com/raytheon/uf/common/dataaccess/response/AbstractResponseData.py @@ -35,8 +35,7 @@ class AbstractResponseData(six.with_metaclass(abc.ABCMeta, object)): def getAttributes(self): if six.PY2: return self.attributes - else: - return self.convert(self.attributes) + return self.convert(self.attributes) def setAttributes(self, attributes): self.attributes = attributes