]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Renamings
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 27 Aug 2018 14:13:12 +0000 (16:13 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 27 Aug 2018 14:13:12 +0000 (16:13 +0200)
show-modules [deleted file]
show-modules-html [deleted file]
show-modules-html.py [new file with mode: 0755]
show-modules-txt [deleted file]
show-modules-txt.py [new file with mode: 0755]
show-modules.py [new file with mode: 0755]

diff --git a/show-modules b/show-modules
deleted file mode 100755 (executable)
index 8b7eb7f..0000000
+++ /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 (executable)
index 4b510ef..0000000
+++ /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 (executable)
index 0000000..4b510ef
--- /dev/null
@@ -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 (executable)
index 697930b..0000000
+++ /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 (executable)
index 0000000..697930b
--- /dev/null
@@ -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 (executable)
index 0000000..8b7eb7f
--- /dev/null
@@ -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