From: Frank Brehm Date: Fri, 27 Jan 2017 13:43:47 +0000 (+0100) Subject: Minor changes X-Git-Tag: 0.8.4~43 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=79666248554db0afb5a2deeccccb24e43a1438a9;p=pixelpark%2Fpuppetmaster-webhooks.git Minor changes --- diff --git a/lib/webhooks/__init__.py b/lib/webhooks/__init__.py index 5e1c2e7..26778a3 100644 --- a/lib/webhooks/__init__.py +++ b/lib/webhooks/__init__.py @@ -1,6 +1,6 @@ #!/bin/env python3 # -*- coding: utf-8 -*- -__version__ = '0.3.3' +__version__ = '0.3.4' # vim: ts=4 et list diff --git a/lib/webhooks/deploy.py b/lib/webhooks/deploy.py index 7c0c8de..efe91ff 100644 --- a/lib/webhooks/deploy.py +++ b/lib/webhooks/deploy.py @@ -614,9 +614,11 @@ class WebhookDeployApp(object): cfg['name'] = project_key full_name = ns + '/' + pname - LOG.debug("Checking for {!r} ...".format(full_name)) + if self.verbose > 1: + LOG.debug("Checking for {!r} ...".format(full_name)) if self.full_name == full_name: + LOG.debug("Found project {!r}.".format(full_name)) return self.deploy(cfg) msg = "Could not find a definition for project {!r}.".format(self.full_name)