diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-03-17 18:14:19 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-03-17 18:14:19 +0100 |
commit | 3b388447fecab4d86a3387178bfb2876776d7567 (patch) | |
tree | 3852870471401e0c8af59193ae821cf3cbdc66de /gitlab | |
parent | e39d7eaaba18a7aa5cbcb4240feb0db11516b312 (diff) | |
download | gitlab-3b388447fecab4d86a3387178bfb2876776d7567.tar.gz |
Properly handle extra args when listing with all=True
Fixes #233
Diffstat (limited to 'gitlab')
-rw-r--r-- | gitlab/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index cce282d..721106c 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -337,6 +337,7 @@ class Gitlab(object): if ('next' in r.links and 'url' in r.links['next'] and get_all_results is True): args = kwargs.copy() + args.update(extra_attrs) args['next_url'] = r.links['next']['url'] results.extend(self.list(cls, **args)) return results |