From d8759b3ba0054c42077c2f593f16e6f9d4600951 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Fri, 18 Dec 2009 15:50:07 +0100 Subject: [PATCH] Output service only if description is set --- nagixsc_xml2cfg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagixsc_xml2cfg.py b/nagixsc_xml2cfg.py index 844dc42..3bb1857 100755 --- a/nagixsc_xml2cfg.py +++ b/nagixsc_xml2cfg.py @@ -73,6 +73,6 @@ for check in checks: print HOSTTEMPL % check - print SERVICETEMPL % check - + if check['service_description']: + print SERVICETEMPL % check -- 2.30.2