From d48b1d83e57d752a7f9fa02cef13385b07e2a1df Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Fri, 30 Jul 2021 15:24:48 +0300 Subject: Fix flake8 warnings --- share/python/lib/daemon.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') diff --git a/share/python/lib/daemon.py b/share/python/lib/daemon.py index b6658ae..9f1dfc0 100644 --- a/share/python/lib/daemon.py +++ b/share/python/lib/daemon.py @@ -300,6 +300,9 @@ def _daemon_output_is(ctx, name, text, getter): def _daemon_output_contains(ctx, name, text, getter): + log_lines = globals()["log_lines"] + indent = " " * 4 + text = bytes(text, "UTF-8").decode("unicode_escape") output = getter(ctx, name) -- cgit v1.2.1