Skip to content

Commit f0f9dc1

Browse files
authored
Merge pull request #11 from cyberkov/patch-1
Fix compatibility to Python 3
2 parents de83197 + cd9528c commit f0f9dc1

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v1.0.1
2+
3+
* Small bug fixes regarding Python 3 support
4+
15
## v1.0.0
26

37
* Drop Python 2.7 support

actions/lib/gitlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def post(self, url, project, ref, trigger_token, variables, *args, **kwargs):
117117
params = {"token": trigger_token,
118118
"ref": ref}
119119
if variables:
120-
for key, val in variables.iteritems():
120+
for key, val in variables.items():
121121
params.update({"variables[{}]".format(key): val})
122122

123123
return self._post(url,

pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: gitlab
33
description: GitLab Rest API
44
keywords:
55
- gitlab
6-
version: 1.0.0
6+
version: 1.0.1
77
author: Daniel Chamot
88
99
python_versions:

0 commit comments

Comments
 (0)