From acbcefc34e764bcebdc59f4ffae4d6a9a89cd302 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 20 Jun 2019 14:14:03 +0200 Subject: [PATCH] remove debug logs --- dotdrop/dotdrop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index d521d85..cfafad6 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -161,7 +161,8 @@ def cmd_install(o): LOG.dbg('force pre action execution ...') pre_actions_exec() # post-actions - LOG.dbg('force post action execution ...') + if o.debug: + LOG.dbg('force post action execution ...') postactions = dotfile.get_post_actions() post_actions_exec = action_executor(o, postactions, defactions, t, post=True)