We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc3df6e commit 6d9ec32Copy full SHA for 6d9ec32
1 file changed
github.py
@@ -23,7 +23,7 @@ def repo(self, org, repo):
23
return GitHubIssues(self.issues(lambda item: item['repository_url'].endswith(f'/repos/{org}/{repo}')), max_results=self._max_results, token=self._token)
24
25
def issues(self, predicate=lambda x: True):
26
- return list(map(predicate, self._json['items']))
+ return list(filter(predicate, self._json['items']))
27
28
def load(self, filepath):
29
with open(filepath) as f:
0 commit comments