Skip to content

Commit

Permalink
Merge pull request #522 from beyondliu/master
Browse files Browse the repository at this point in the history
fix #521 change post_data default value to None
  • Loading branch information
Gauvain Pocentek committed Jun 9, 2018
2 parents 473dc6f + d4c1a8c commit 6dd8774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/__init__.py
Expand Up @@ -362,7 +362,7 @@ def _build_url(self, path):
else:
return '%s%s' % (self._url, path)

def http_request(self, verb, path, query_data={}, post_data={},
def http_request(self, verb, path, query_data={}, post_data=None,
streamed=False, files=None, **kwargs):
"""Make an HTTP request to the Gitlab server.
Expand Down

0 comments on commit 6dd8774

Please sign in to comment.