Skip to content

Commit fd42ccb

Browse files
committed
Merge changes from atlassian-api#872 int bitbucket function _get_paged.
1 parent 7d71c2f commit fd42ccb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

atlassian/bitbucket/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ def _get_paged(self, url, params=None, data=None, flags=None, trailing=None, abs
6767
url = response.get("next")
6868
if url is None:
6969
break
70-
# From now on we have absolute URLs including the trailing slash if needed
70+
# From now on we have absolute URLs with parameters
7171
absolute = True
72+
# Params are now provided by the url
73+
params = {}
74+
# Trailing should not be added as it is already part of the url
7275
trailing = False
7376
else:
7477
if response.get("nextPageStart") is None:

0 commit comments

Comments
 (0)