Skip to content

Commit

Permalink
fix: do not check if kwargs is none
Browse files Browse the repository at this point in the history
Co-authored-by: Traian Nedelea <tron1point0@pm.me>
  • Loading branch information
tyates-indeed and tron1point0 authored Jun 23, 2020
1 parent 72ffa01 commit a349b90
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gitlab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,7 @@ def __init__(self, gl, url, query_data, get_next=True, **kwargs):
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
Expand Down

0 comments on commit a349b90

Please sign in to comment.