Skip to content

Commit

Permalink
fix #521 change post_data default value to None
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondliu committed Jun 8, 2018
1 parent bbefb99 commit d4c1a8c
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 d4c1a8c

Please sign in to comment.