]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Minor changes
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 27 Jan 2017 13:43:47 +0000 (14:43 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 27 Jan 2017 13:43:47 +0000 (14:43 +0100)
lib/webhooks/__init__.py
lib/webhooks/deploy.py

index 5e1c2e75bb591d36c06a4b8edde4ac8911386c42..26778a3a06e7b7fe775ff7d59ab4573c304725c6 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/env python3
 # -*- coding: utf-8 -*-
 
-__version__ = '0.3.3'
+__version__ = '0.3.4'
 
 # vim: ts=4 et list
index 7c0c8de923f1e1dd96f7f69a259fdd68ae55691f..efe91ffe12c8aecd7fbd215cdd47c572333d5f23 100644 (file)
@@ -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)