Skip to content

Commit

Permalink
Merge pull request #11 from cyberkov/patch-1
Browse files Browse the repository at this point in the history
Fix compatibility to Python 3
  • Loading branch information
nmaludy authored Mar 9, 2021
2 parents de83197 + cd9528c commit f0f9dc1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.0.1

* Small bug fixes regarding Python 3 support

## v1.0.0

* Drop Python 2.7 support
Expand Down
2 changes: 1 addition & 1 deletion actions/lib/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: gitlab
description: GitLab Rest API
keywords:
- gitlab
version: 1.0.0
version: 1.0.1
author: Daniel Chamot
email: [email protected]
python_versions:
Expand Down

0 comments on commit f0f9dc1

Please sign in to comment.