mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-04 21:28:12 +02:00
updated stats_pull_requests to use the new utils
interface
This commit is contained in:
@ -24,8 +24,8 @@ def move_github_logging_to_file():
|
||||
github_logger.propagate = False # Prevent logging to standard output
|
||||
|
||||
def process_pull(repo, pull):
|
||||
commits = list(pull.get_commits())
|
||||
comments = list(pull.get_review_comments())
|
||||
commits = pull.get_commits()
|
||||
comments = pull.get_review_comments()
|
||||
|
||||
return {
|
||||
"repo": repo.full_name,
|
||||
|
Reference in New Issue
Block a user