ignored protected-access for _unpack()

This commit is contained in:
Devaev Maxim
2020-09-30 07:25:52 +03:00
parent 3f9c32e9fc
commit 630593492a
7 changed files with 7 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ class Section(dict):
for (key, value) in self.items():
if key not in ignore:
if isinstance(value, Section):
unpacked[key] = value._unpack() # pylint: disable=protected-access
unpacked[key] = value._unpack()
else: # Option
unpacked[self._get_unpack_as(key)] = value # pylint: disable=protected-access
return unpacked