summaryrefslogtreecommitdiff
path: root/kvmd/apps/cleanup/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-06-18 13:10:00 +0300
committerMaxim Devaev <[email protected]>2022-06-18 13:10:00 +0300
commitb5344a5f3a17a5d3a354ee4d4c9894e068da6985 (patch)
tree9f9a877a3923174fee1932a528372cb9776605ff /kvmd/apps/cleanup/__init__.py
parent53e64fe1518d7dd8d53c6e04846cee1601c2c754 (diff)
refactoring
Diffstat (limited to 'kvmd/apps/cleanup/__init__.py')
-rw-r--r--kvmd/apps/cleanup/__init__.py4
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