Skip to content

Commit

Permalink
logic cleanup return after an else
Browse files Browse the repository at this point in the history
  • Loading branch information
mjames-upc committed Oct 15, 2018
1 parent d539965 commit e736e7a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def setLocationName(self, locationName):
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
Expand Down

0 comments on commit e736e7a

Please sign in to comment.