From 18a366e4eb9056495aa2e2d3003bc4e5e81a9fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20M=C3=A4der?= <maeder@phys.ethz.ch> Date: Wed, 11 Apr 2018 13:35:06 +0200 Subject: [PATCH] Do not debug skip --- bin/deltalogparse.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/deltalogparse.py b/bin/deltalogparse.py index 52a303a..df53552 100755 --- a/bin/deltalogparse.py +++ b/bin/deltalogparse.py @@ -88,8 +88,9 @@ def log_action(action, entry): """Log an action on a req""" req_type = entry['attributes']['reqType'][0] req_dn = entry['attributes']['reqDN'][0] - log.debug('entry:') - log.debug(pprint.pformat(entry, indent=1)) + if not action == 'skip': + log.debug('entry:') + log.debug(pprint.pformat(entry, indent=1)) log.info('{}: {} {}'.format(action, req_type, req_dn)) -- GitLab