Skip to content

Commit

Permalink
refactor "_sanitize" for Python < 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Miller committed Sep 6, 2014
1 parent 8846bf7 commit 89d3fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab.py
Expand Up @@ -468,7 +468,7 @@ def _sanitize(value):


def _sanitize_dict(src):
return {k: _sanitize(v) for k, v in src.items()}
return dict((k, _sanitize(v)) for k, v in src.items())


class GitlabObject(object):
Expand Down

0 comments on commit 89d3fa0

Please sign in to comment.