From a159d259c109003be272b9d2fbaef0ef417f2ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6hm?= Date: Wed, 18 Sep 2024 09:33:17 +0200 Subject: [PATCH] PaperConfigOverview: Rename repo to pygit_repo --- varats/varats/plots/paper_config_overview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varats/varats/plots/paper_config_overview.py b/varats/varats/plots/paper_config_overview.py index ccde31e46..ba4697bf7 100644 --- a/varats/varats/plots/paper_config_overview.py +++ b/varats/varats/plots/paper_config_overview.py @@ -48,13 +48,13 @@ def _load_projects_ordered_by_year( case_study, experiment_type ) - repo = get_local_project_repo(case_study.project_name).pygit_repo + pygit_repo = get_local_project_repo(case_study.project_name).pygit_repo revisions: tp.Dict[int, tp.List[tp.Tuple[ ShortCommitHash, FileStatusExtension]]] = defaultdict(list) # dict: year -> [ (revision: str, status: FileStatusExtension) ] for rev, status in processed_revisions: - commit = repo.get(rev.hash) + commit = pygit_repo.get(rev.hash) commit_date = datetime.utcfromtimestamp(commit.commit_time) revisions[commit_date.year].append((rev, status))