From 79666248554db0afb5a2deeccccb24e43a1438a9 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 27 Jan 2017 14:43:47 +0100 Subject: [PATCH] Minor changes --- lib/webhooks/__init__.py | 2 +- lib/webhooks/deploy.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5