From ddda46913f3224536a8aeada30de523157f3d2f5 Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Mon, 30 Apr 2018 09:34:25 +0200 Subject: [PATCH] Fix tags --- abgabesystem.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/abgabesystem.py b/abgabesystem.py index b3d0d07..7b72521 100644 --- a/abgabesystem.py +++ b/abgabesystem.py @@ -22,11 +22,8 @@ class Deadline(yaml.YAMLObject): def trigger(self, project): """Create protected tag on ref""" - log.info('Creating tag %s' % self.tag) + print('Creating tag %s' % self.tag) tags = project.tags.list(search=self.tag) - if len(tags) > 0: - print(tags) - return project.tags.create({ 'tag_name': self.tag,