mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +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
|
github_logger.propagate = False # Prevent logging to standard output
|
||||||
|
|
||||||
def process_pull(repo, pull):
|
def process_pull(repo, pull):
|
||||||
commits = list(pull.get_commits())
|
commits = pull.get_commits()
|
||||||
comments = list(pull.get_review_comments())
|
comments = pull.get_review_comments()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"repo": repo.full_name,
|
"repo": repo.full_name,
|
||||||
|
Reference in New Issue
Block a user