From: Sven Velt Date: Fri, 18 Dec 2009 14:50:07 +0000 (+0100) Subject: Output service only if description is set X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d8759b3ba0054c42077c2f593f16e6f9d4600951;p=nagixsc.git Output service only if description is set --- 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