Skip to content

Commit

Permalink
make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Apr 16, 2023
1 parent 638c329 commit f701ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enum_properties/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ def __init__(self):

def __setitem__(self, key, value):
if isinstance(value, _Specialized):
for en in value.values:
self._specialized_.setdefault(en, {})[key] = value
for en_val in value.values:
self._specialized_.setdefault(en_val, {})[key] = value
elif key in EnumPropertiesMeta.EXPECTED:
dict.__setitem__(self, key, value)
elif key in EnumPropertiesMeta.RESERVED:
Expand Down

0 comments on commit f701ac3

Please sign in to comment.