Skip to content

Commit 8ce4e9e

Browse files
authored
Merge pull request #701 from jpiron/fix_all_behaviour
Fix all kwarg behaviour
2 parents 31bca2f + 6b2bf5b commit 8ce4e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def http_list(self, path, query_data={}, as_list=None, **kwargs):
590590
# In case we want to change the default behavior at some point
591591
as_list = True if as_list is None else as_list
592592

593-
get_all = kwargs.get('all', False)
593+
get_all = kwargs.pop('all', False)
594594
url = self._build_url(path)
595595

596596
if get_all is True:

0 commit comments

Comments
 (0)