Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gpocentek/python-gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed May 28, 2016
2 parents 0535808 + 05dd8dc commit b8f19ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/__init__.py
Expand Up @@ -287,7 +287,7 @@ def _raw_list(self, path, cls, **kwargs):
get_all_results = kwargs.get('all', False)

# Remove parameters from kwargs before passing it to constructor
for key in ['all', 'page', 'per_page', 'sudo']:
for key in ['all', 'page', 'per_page', 'sudo', 'next_url']:
if key in cls_kwargs:
del cls_kwargs[key]

Expand Down Expand Up @@ -395,7 +395,7 @@ def list(self, obj_class, **kwargs):
get_all_results = params.get('all', False)

# Remove parameters from kwargs before passing it to constructor
for key in ['all', 'page', 'per_page', 'sudo']:
for key in ['all', 'page', 'per_page', 'sudo', 'next_url']:
if key in cls_kwargs:
del cls_kwargs[key]

Expand Down

0 comments on commit b8f19ca

Please sign in to comment.