From cca16eba19da063aac07e89bb7277ea406c627c7 Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Tue, 30 Apr 2019 18:54:57 +0200 Subject: [PATCH] remove useless logs --- tests/test_fail2ban.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_fail2ban.py b/tests/test_fail2ban.py index fa2a9dab..86de94c6 100755 --- a/tests/test_fail2ban.py +++ b/tests/test_fail2ban.py @@ -28,7 +28,6 @@ def get_service_state(name: str) -> tuple: # pylint: disable=E0401 import dbus except ImportError: - u.log("Using systemctl to get current state.") returncode, output = u.exec_cmd( "systemctl status fail2ban | grep 'Active:'", log_output=False ) @@ -44,7 +43,6 @@ def get_service_state(name: str) -> tuple: active = "no" state = "unknown" else: - u.log("Using dbus to get current state.") bus = dbus.SystemBus() systemd = bus.get_object( "org.freedesktop.systemd1", "/org/freedesktop/systemd1" -- GitLab