Skip to content

Commit b81a391

Browse files
committed
🚒 Fixes PR request ls with BB
fixes #193
1 parent 5f6eeea commit b81a391

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

git_repo/services/ext/bitbucket.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,11 @@ def request_list(self, user, repo):
319319
r.links['html']['href']
320320
) for r in self.bb.repositoryPullRequestsInState(
321321
owner=user,
322-
repository_name=repo,
323-
state='open'
322+
repository_name=repo
324323
) if not isinstance(r, dict) # if no PR is empty, result is a dict
325324
)
325+
yield "{}\t{:<60}\t{}"
326+
yield 'id', 'title', 'URL'
326327
for pull in sorted(requests):
327328
try:
328329
yield pull

0 commit comments

Comments
 (0)