From 1fbdebf2518ee2faf6927468d6734fc9b84476f6 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 25 Jan 2017 11:05:47 +0100 Subject: [PATCH] Fixing lib/webhooks/deploy.py --- lib/webhooks/deploy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/webhooks/deploy.py b/lib/webhooks/deploy.py index ca61b46..695b930 100644 --- a/lib/webhooks/deploy.py +++ b/lib/webhooks/deploy.py @@ -22,7 +22,7 @@ import webhooks from webhooks.common import pp __version__ = webhooks.__version__ -log = logging.getLogger(__name__) +LOG = logging.getLogger(__name__) # ============================================================================= class WebhookDeployApp(object): @@ -99,7 +99,7 @@ class WebhookDeployApp(object): if v >= 0: self._verbose = v else: - log.warn("Wrong verbose level %r, must be >= 0", value) + LOG.warn("Wrong verbose level %r, must be >= 0", value) # ----------------------------------------------------------- @property @@ -176,8 +176,8 @@ class WebhookDeployApp(object): print() print("Python CGI läuft") - log.info("Starting ...") - log.debug("Base directory: {!r}".format(self.base_dir)) + LOG.info("Starting ...") + LOG.debug("Base directory: {!r}".format(self.base_dir)) self.data = sys.stdin.read() try: -- 2.39.5