Skip to content

Commit 0ae1f6d

Browse files
committed
Fixing id of the request to merge
- formatting an int as a string leading to an exception…
1 parent 38ff11a commit 0ae1f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_repo/services/ext/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_repository(self, user, repo):
8383
def request_list(self, user, repo):
8484
repository = self.gh.repository(user, repo)
8585
for pull in repository.iter_pulls():
86-
yield ( pull.number, pull.title, pull.links['issue'] )
86+
yield ( str(pull.number), pull.title, pull.links['issue'] )
8787

8888
def request_fetch(self, user, repo, request, pull=False):
8989
if pull:

0 commit comments

Comments
 (0)