summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-06-09 08:12:28 +0200
committerGitHub <noreply@github.com>2018-06-09 08:12:28 +0200
commit6dd8774e1fa62e6f29cd760509e0274f4205683f (patch)
tree93665ee14f18981fc0a4c04f5c7c84e77bc3dbf1
parent473dc6f50d27b2e5349bb2e7c8bc07b48e9834d1 (diff)
parentd4c1a8ce8f0b0a9d60922e22cdc044343fe24cd3 (diff)
downloadgitlab-6dd8774e1fa62e6f29cd760509e0274f4205683f.tar.gz
Merge pull request #522 from beyondliu/master
fix #521 change post_data default value to None
-rw-r--r--gitlab/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index 8d522b4..2159492 100644
--- a/gitlab/__init__.py
+++ b/gitlab/__init__.py
@@ -362,7 +362,7 @@ class Gitlab(object):
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.