diff options
author | tyates-indeed <57921587+tyates-indeed@users.noreply.github.com> | 2020-06-23 11:01:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 11:01:43 -0500 |
commit | a349b90ea6016ec8fbe91583f2bbd9832b41a368 (patch) | |
tree | 8279c7243558338478ce9038df7fed053dedab35 | |
parent | 72ffa0164edc44a503364f9b7e25c5b399f648c3 (diff) | |
download | gitlab-a349b90ea6016ec8fbe91583f2bbd9832b41a368.tar.gz |
fix: do not check if kwargs is none
Co-authored-by: Traian Nedelea <tron1point0@pm.me>
-rw-r--r-- | gitlab/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 53815f8..226fdf6 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -779,10 +779,7 @@ class GitlabList(object): self._gl = gl # Preserve kwargs for subsequent queries - if kwargs is None: - self._kwargs = {} - else: - self._kwargs = kwargs.copy() + self._kwargs = kwargs.copy() self._query(url, query_data, **self._kwargs) self._get_next = get_next |