aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git_webhooks/gitlab.py')
-rw-r--r--modules/git_webhooks/gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py
index 7034ebfa..63619519 100644
--- a/modules/git_webhooks/gitlab.py
+++ b/modules/git_webhooks/gitlab.py
@@ -91,7 +91,7 @@ class GitLab(object):
return hash[:8]
def tag_push(self, full_name, data):
- create = data["after"].strip("0")==""
+ create = not data["after"].strip("0") == ""
tag = utils.irc.color(data["ref"].rsplit("/", 1)[-1],
colors.COLOR_BRANCH)
author = utils.irc.bold(data["user_username"])