Skip to content

Commit 6c4fc34

Browse files
author
Gauvain Pocentek
committed
Merge pull request #32 from patgmiller/master
refactor "_sanitize" for Python < 2.7
2 parents 8846bf7 + 89d3fa0 commit 6c4fc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def _sanitize(value):
468468

469469

470470
def _sanitize_dict(src):
471-
return {k: _sanitize(v) for k, v in src.items()}
471+
return dict((k, _sanitize(v)) for k, v in src.items())
472472

473473

474474
class GitlabObject(object):

0 commit comments

Comments
 (0)