From a56847623bde31e758b4f92a9b5f5ede27e01262 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 4 Mar 2010 10:18:02 +0100 Subject: [PATCH] Rename scripts and python module Put nagixsc.py into nagixsc/__init__.py to use and install it as an usul Python module. Renamed dummy_* to more "offical" names. Signed-off-by: Sven Velt --- QUICKSTART.de.txt | 4 ++-- nagixsc.py => nagixsc/__init__.py | 0 dummy_read_xml.py => nagixsc_read_xml.py | 0 dummy_write_xml.py => nagixsc_write_xml.py | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename nagixsc.py => nagixsc/__init__.py (100%) rename dummy_read_xml.py => nagixsc_read_xml.py (100%) rename dummy_write_xml.py => nagixsc_write_xml.py (100%) diff --git a/QUICKSTART.de.txt b/QUICKSTART.de.txt index aabaac4..92d4875 100644 --- a/QUICKSTART.de.txt +++ b/QUICKSTART.de.txt @@ -69,10 +69,10 @@ direkt vom Nagios aus abrufbar ist. 01.03. Kontrolle der erstellten XML-Datei ----------------------------------------- -Mit Hilfe des Skripts "dummy_read_xml.py" kann man sich den Inhalt einer +Mit Hilfe des Skripts "nagixsc_read_xml.py" kann man sich den Inhalt einer Nag(ix)SC-XML-Datei ansehen: -% ./dummy_read_xml.py -f /tmp/nagixsc.xml +% ./nagixsc_read_xml.py -f /tmp/nagixsc.xml Der Inhalt wird zuerst blockweise, dann als formatiertes Python Dict ausgegeben. diff --git a/nagixsc.py b/nagixsc/__init__.py similarity index 100% rename from nagixsc.py rename to nagixsc/__init__.py diff --git a/dummy_read_xml.py b/nagixsc_read_xml.py similarity index 100% rename from dummy_read_xml.py rename to nagixsc_read_xml.py diff --git a/dummy_write_xml.py b/nagixsc_write_xml.py similarity index 100% rename from dummy_write_xml.py rename to nagixsc_write_xml.py -- 2.30.2