From 6e26ab39a0ed6e22e7a058952a185beb71cd993c Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 30 Dec 2022 13:07:11 +0100 Subject: debiandistro: Clarify indentation --- whatmaps/debiandistro.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/whatmaps/debiandistro.py b/whatmaps/debiandistro.py index 57846ef..84ab9c8 100644 --- a/whatmaps/debiandistro.py +++ b/whatmaps/debiandistro.py @@ -119,10 +119,10 @@ class DebianDistro(Distro): aptconfig = sys.stdin.readline() if not aptconfig or aptconfig == '\n': break - if aptconfig.startswith('Whatmaps::Enable-Restart=') and \ - aptconfig.strip().split('=', 1)[1].lower() in ["true", "1"]: - logging.debug("Service restarts enabled") - whatmaps_enabled = True + if (aptconfig.startswith('Whatmaps::Enable-Restart=') and + aptconfig.strip().split('=', 1)[1].lower() in ["true", "1"]): + logging.debug("Service restarts enabled") + whatmaps_enabled = True if not whatmaps_enabled: return None -- cgit v1.2.3