More PEP8 fixes

This commit is contained in:
Tushar Gohad
2015-07-28 00:11:15 -07:00
committed by Thomas Goirand
parent 1e57743f03
commit 72669a355f

View File

@@ -666,8 +666,8 @@ del __str__
def __dir__(self):
added_behavior = [m for m in self.__class__.__dict__ if m[0] != '_']
return (['__class__', '__doc__', '__module__', 'name', 'value']
+ added_behavior)
return (['__class__', '__doc__', '__module__', 'name', 'value'] +
added_behavior)
temp_enum_dict['__dir__'] = __dir__
del __dir__