Skip to content

Commit

Permalink
Merge pull request #32 from patgmiller/master
Browse files Browse the repository at this point in the history
refactor "_sanitize" for Python < 2.7
  • Loading branch information
Gauvain Pocentek committed Sep 6, 2014
2 parents 8846bf7 + 89d3fa0 commit 6c4fc34
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 6c4fc34

Please sign in to comment.