machine: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2023-10-07 10:31:41 -04:00
1 parent 2a7594fc3b
commit 0e7c759bde
1 file changed
+2 -2
+2 -2
View File
@@ -202,7 +202,7 @@ class Machine:
else:
for key, val in info.items():
sys_info_msg += f"\n {key}: {val}"
sys_info_msg += f"\n\n***Allowed Services***"
sys_info_msg += "\n\n***Allowed Services***"
for svc in self._allowed_services:
sys_info_msg += f"\n {svc}"
self.server.add_log_rollover_item('system_info', sys_info_msg, log=log)
@@ -2003,7 +2003,7 @@ class InstallValidator:
await self._check_configuration()
except asyncio.CancelledError:
raise
except Exception as e:
except Exception:
logging.exception(f"{name} validation failed")
raise self.server.error(
f"{name} validation failed", 500