from webhooks.common import pp
__version__ = webhooks.__version__
-log = logging.getLogger(__name__)
+LOG = logging.getLogger(__name__)
# =============================================================================
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
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: