diff options
author | Guido Günther <agx@sigxcpu.org> | 2022-12-30 13:07:11 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2022-12-30 13:08:05 +0100 |
commit | 6e26ab39a0ed6e22e7a058952a185beb71cd993c (patch) | |
tree | c7458150936a8bfbe70fd5fe311dffb5ea77976f | |
parent | 179aa196cb974d0cac306dd614ebe2f10bbc04c1 (diff) |
debiandistro: Clarify indentation
-rw-r--r-- | whatmaps/debiandistro.py | 8 |
1 files 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 |