logic cleanup return after an else

This commit is contained in:
Michael James 2018-10-15 17:14:55 -06:00
parent d539965e07
commit e736e7ab6f

View file

@ -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