Skip to content

Commit 3b38844

Browse files
author
Gauvain Pocentek
committed
Properly handle extra args when listing with all=True
Fixes #233
1 parent e39d7ea commit 3b38844

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ def _raw_list(self, path_, cls, extra_attrs={}, **kwargs):
337337
if ('next' in r.links and 'url' in r.links['next']
338338
and get_all_results is True):
339339
args = kwargs.copy()
340+
args.update(extra_attrs)
340341
args['next_url'] = r.links['next']['url']
341342
results.extend(self.list(cls, **args))
342343
return results

0 commit comments

Comments
 (0)