From 71670918f03d22ad63d01b20e04729acc481ba2d Mon Sep 17 00:00:00 2001 From: Hannes Schaller Date: Mon, 8 Mar 2021 12:00:17 +0100 Subject: [PATCH 1/2] Fix compatibility to Python 3 Hello! I just came across a problem in this pack, when running with the new StackStorm 3.4. This change fixed it for me. Cheers Hannes --- actions/lib/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/lib/gitlab.py b/actions/lib/gitlab.py index 39e83d4..64834af 100644 --- a/actions/lib/gitlab.py +++ b/actions/lib/gitlab.py @@ -117,7 +117,7 @@ def post(self, url, project, ref, trigger_token, variables, *args, **kwargs): params = {"token": trigger_token, "ref": ref} if variables: - for key, val in variables.iteritems(): + for key, val in variables.items(): params.update({"variables[{}]".format(key): val}) return self._post(url, From cd9528cc47ec133428a0bd7949d36f81e1f8c49f Mon Sep 17 00:00:00 2001 From: Hannes Schaller Date: Tue, 9 Mar 2021 14:20:30 +0100 Subject: [PATCH 2/2] bump to version 1.0.1 --- CHANGELOG.md | 4 ++++ pack.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d62db2..9953c8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.0.1 + +* Small bug fixes regarding Python 3 support + ## v1.0.0 * Drop Python 2.7 support diff --git a/pack.yaml b/pack.yaml index fd9489a..324c372 100644 --- a/pack.yaml +++ b/pack.yaml @@ -3,7 +3,7 @@ name: gitlab description: GitLab Rest API keywords: - gitlab -version: 1.0.0 +version: 1.0.1 author: Daniel Chamot email: daniel@nullkarma.com python_versions: