From b5af26cf35ffd486e28170af62d68d714aeab8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 29 Oct 2015 15:01:55 +0100 Subject: [PATCH] Add some comments --- taiga/hooks/bitbucket/services.py | 1 + taiga/hooks/github/services.py | 1 + taiga/hooks/gitlab/services.py | 1 + 3 files changed, 3 insertions(+) diff --git a/taiga/hooks/bitbucket/services.py b/taiga/hooks/bitbucket/services.py index 2bb9e574..ff39d083 100644 --- a/taiga/hooks/bitbucket/services.py +++ b/taiga/hooks/bitbucket/services.py @@ -23,6 +23,7 @@ from taiga.users.models import User from taiga.base.utils.urls import get_absolute_url +# Set this in settings.PROJECT_MODULES_CONFIGURATORS["bitbucket"] def get_or_generate_config(project): config = project.modules_config.config if config and "bitbucket" in config: diff --git a/taiga/hooks/github/services.py b/taiga/hooks/github/services.py index cbd63ef6..31a4f063 100644 --- a/taiga/hooks/github/services.py +++ b/taiga/hooks/github/services.py @@ -23,6 +23,7 @@ from taiga.users.models import AuthData from taiga.base.utils.urls import get_absolute_url +# Set this in settings.PROJECT_MODULES_CONFIGURATORS["github"] def get_or_generate_config(project): config = project.modules_config.config if config and "github" in config: diff --git a/taiga/hooks/gitlab/services.py b/taiga/hooks/gitlab/services.py index c7bfe5b9..a441c0dc 100644 --- a/taiga/hooks/gitlab/services.py +++ b/taiga/hooks/gitlab/services.py @@ -23,6 +23,7 @@ from taiga.users.models import User from taiga.base.utils.urls import get_absolute_url +# Set this in settings.PROJECT_MODULES_CONFIGURATORS["gitlab"] def get_or_generate_config(project): config = project.modules_config.config if config and "gitlab" in config: