From: Frank Brehm Date: Mon, 27 Aug 2018 14:13:12 +0000 (+0200) Subject: Renamings X-Git-Tag: 0.10.8~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e841025f4204f0ef6c6f98c34e0d8edd4d9e6fc4;p=pixelpark%2Fpuppetmaster-webhooks.git Renamings --- diff --git a/show-modules b/show-modules deleted file mode 100755 index 8b7eb7f..0000000 --- a/show-modules +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - -# Standard modules -import os -import sys -import logging - -# own modules: -basedir = os.path.abspath(os.path.dirname(__file__)) -libdir = os.path.join(basedir, 'lib') - -sys.path.insert(0, libdir) - -from webhooks.show_modules import ShowModulesApp - -MY_APPNAME = os.path.basename(sys.argv[0]) -LOG = logging.getLogger(MY_APPNAME) - -app = ShowModulesApp(appname=MY_APPNAME) - -if app.verbose > 2: - LOG.debug("{c} object:\n{o}".format(c=app.__class__.__name__, o=app)) - -app() - -sys.exit(0) - -# vim: ts=4 et diff --git a/show-modules-html b/show-modules-html deleted file mode 100755 index 4b510ef..0000000 --- a/show-modules-html +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - -# Standard modules -import os -import sys -import logging - -# own modules: -basedir = os.path.abspath(os.path.dirname(__file__)) -libdir = os.path.join(basedir, 'lib') - -sys.path.insert(0, libdir) - -from webhooks.show_modules import ShowModulesApp - -MY_APPNAME = os.path.basename(sys.argv[0]) -LOG = logging.getLogger(MY_APPNAME) - -app = ShowModulesApp(appname=MY_APPNAME) -app._output_type = 'html' - -if app.verbose > 2: - LOG.debug("{c} object:\n{o}".format(c=app.__class__.__name__, o=app)) - -app() - -sys.exit(0) - -# vim: ts=4 et diff --git a/show-modules-html.py b/show-modules-html.py new file mode 100755 index 0000000..4b510ef --- /dev/null +++ b/show-modules-html.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# Standard modules +import os +import sys +import logging + +# own modules: +basedir = os.path.abspath(os.path.dirname(__file__)) +libdir = os.path.join(basedir, 'lib') + +sys.path.insert(0, libdir) + +from webhooks.show_modules import ShowModulesApp + +MY_APPNAME = os.path.basename(sys.argv[0]) +LOG = logging.getLogger(MY_APPNAME) + +app = ShowModulesApp(appname=MY_APPNAME) +app._output_type = 'html' + +if app.verbose > 2: + LOG.debug("{c} object:\n{o}".format(c=app.__class__.__name__, o=app)) + +app() + +sys.exit(0) + +# vim: ts=4 et diff --git a/show-modules-txt b/show-modules-txt deleted file mode 100755 index 697930b..0000000 --- a/show-modules-txt +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - -# Standard modules -import os -import sys -import logging - -# own modules: -basedir = os.path.abspath(os.path.dirname(__file__)) -libdir = os.path.join(basedir, 'lib') - -sys.path.insert(0, libdir) - -from webhooks.show_modules import ShowModulesApp - -MY_APPNAME = os.path.basename(sys.argv[0]) -LOG = logging.getLogger(MY_APPNAME) - -app = ShowModulesApp(appname=MY_APPNAME) -app._output_type = 'txt' - -if app.verbose > 2: - LOG.debug("{c} object:\n{o}".format(c=app.__class__.__name__, o=app)) - -app() - -sys.exit(0) - -# vim: ts=4 et diff --git a/show-modules-txt.py b/show-modules-txt.py new file mode 100755 index 0000000..697930b --- /dev/null +++ b/show-modules-txt.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# Standard modules +import os +import sys +import logging + +# own modules: +basedir = os.path.abspath(os.path.dirname(__file__)) +libdir = os.path.join(basedir, 'lib') + +sys.path.insert(0, libdir) + +from webhooks.show_modules import ShowModulesApp + +MY_APPNAME = os.path.basename(sys.argv[0]) +LOG = logging.getLogger(MY_APPNAME) + +app = ShowModulesApp(appname=MY_APPNAME) +app._output_type = 'txt' + +if app.verbose > 2: + LOG.debug("{c} object:\n{o}".format(c=app.__class__.__name__, o=app)) + +app() + +sys.exit(0) + +# vim: ts=4 et diff --git a/show-modules.py b/show-modules.py new file mode 100755 index 0000000..8b7eb7f --- /dev/null +++ b/show-modules.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +# Standard modules +import os +import sys +import logging + +# own modules: +basedir = os.path.abspath(os.path.dirname(__file__)) +libdir = os.path.join(basedir, 'lib') + +sys.path.insert(0, libdir) + +from webhooks.show_modules import ShowModulesApp + +MY_APPNAME = os.path.basename(sys.argv[0]) +LOG = logging.getLogger(MY_APPNAME) + +app = ShowModulesApp(appname=MY_APPNAME) + +if app.verbose > 2: + LOG.debug("{c} object:\n{o}".format(c=app.__class__.__name__, o=app)) + +app() + +sys.exit(0) + +# vim: ts=4 et