diff options
author | Devaev Maxim <[email protected]> | 2020-09-30 07:25:52 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-30 07:25:52 +0300 |
commit | 630593492abe6f7d6edf15ee05e62e7d0489e36d (patch) | |
tree | 2985bad3f9b083200ae6535f4fd42ef1872bc8d5 /kvmd | |
parent | 3f9c32e9fc518bf7e94a2507bd2e388de3f6f749 (diff) |
ignored protected-access for _unpack()
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/ipmi/__init__.py | 1 | ||||
-rw-r--r-- | kvmd/apps/kvmd/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/apps/vnc/__init__.py | 1 | ||||
-rw-r--r-- | kvmd/yamlconf/__init__.py | 2 |
4 files changed, 1 insertions, 5 deletions
diff --git a/kvmd/apps/ipmi/__init__.py b/kvmd/apps/ipmi/__init__.py index 52145337..749f9750 100644 --- a/kvmd/apps/ipmi/__init__.py +++ b/kvmd/apps/ipmi/__init__.py @@ -41,7 +41,6 @@ def main(argv: Optional[List[str]]=None) -> None: argv=argv, )[2].ipmi - # pylint: disable=protected-access IpmiServer( auth_manager=IpmiAuthManager(**config.auth._unpack()), kvmd=KvmdClient( diff --git a/kvmd/apps/kvmd/__init__.py b/kvmd/apps/kvmd/__init__.py index e0b0024b..24a09560 100644 --- a/kvmd/apps/kvmd/__init__.py +++ b/kvmd/apps/kvmd/__init__.py @@ -43,8 +43,6 @@ from .server import KvmdServer # ===== def main(argv: Optional[List[str]]=None) -> None: - # pylint: disable=protected-access - config = init( prog="kvmd", description="The main Pi-KVM daemon", diff --git a/kvmd/apps/vnc/__init__.py b/kvmd/apps/vnc/__init__.py index 923ac39a..534768a3 100644 --- a/kvmd/apps/vnc/__init__.py +++ b/kvmd/apps/vnc/__init__.py @@ -44,7 +44,6 @@ def main(argv: Optional[List[str]]=None) -> None: user_agent = htclient.make_user_agent("KVMD-VNC") - # pylint: disable=protected-access VncServer( host=config.server.host, port=config.server.port, diff --git a/kvmd/yamlconf/__init__.py b/kvmd/yamlconf/__init__.py index 9de5bee3..eea9e231 100644 --- a/kvmd/yamlconf/__init__.py +++ b/kvmd/yamlconf/__init__.py @@ -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 |