mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
ignored protected-access for _unpack()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user