Skip to content

Commit f74aa1c

Browse files
authored
[Bitbucket] Clear trailing slash in paged call of next url. (#803)
1 parent ec9feee commit f74aa1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

atlassian/bitbucket/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ 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
70+
# From now on we have absolute URLs including the trailing slash if needed
7171
absolute = True
72+
trailing = False
7273
else:
7374
if response.get("nextPageStart") is None:
7475
break

0 commit comments

Comments
 (0)