diff options
author | Maxim Devaev <[email protected]> | 2022-06-18 13:10:00 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-06-18 13:10:00 +0300 |
commit | b5344a5f3a17a5d3a354ee4d4c9894e068da6985 (patch) | |
tree | 9f9a877a3923174fee1932a528372cb9776605ff /kvmd/apps/cleanup | |
parent | 53e64fe1518d7dd8d53c6e04846cee1601c2c754 (diff) |
refactoring
Diffstat (limited to 'kvmd/apps/cleanup')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index b58ff961..3e33d09f 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -85,12 +85,12 @@ def main(argv: Optional[List[str]]=None) -> None: logger = get_logger(0) logger.info("Cleaning up ...") - for method in [ + for func in [ _kill_streamer, _remove_sockets, ]: try: - method(config) + func(config) except Exception: pass |