Skip to content

Commit 7a85ee0

Browse files
committed
Update commits_parser.py
1 parent 962457d commit 7a85ee0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commits_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def log_repository_commits(client: Github, repository, csv_name, start, finish,
3434
for branch in branches:
3535
print(f'Processing branch {branch}')
3636
# Используем обёртку для получения коммитов
37-
api = GitHubRepoAPI(repository._github)
37+
api = GitHubRepoAPI(client)
3838
commits = api.get_commits(repository)
3939
for commit in commits:
4040
if (
@@ -59,7 +59,7 @@ def log_repository_commits(client: Github, repository, csv_name, start, finish,
5959
sleep(TIMEDELTA)
6060

6161
def log_commits(
62-
client: Github, working_repos, csv_name, start, finish, branch, fork_flag
62+
client, working_repos, csv_name, start, finish, branch, fork_flag
6363
):
6464
logger.log_to_csv(csv_name, FIELDNAMES)
6565

0 commit comments

Comments
 (0)