From e116ecdc5be1e5ad54d5b0a7ee94dd1500242252 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 18 May 2023 19:30:40 +0300 Subject: [PATCH] Updated for naming --- slpkg/install_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/install_data.py b/slpkg/install_data.py index 959e4b6a..fb2ef6c5 100644 --- a/slpkg/install_data.py +++ b/slpkg/install_data.py @@ -22,9 +22,9 @@ class InstallData(Configs): self.repos = Repositories() self.ascii = AsciiBox() - def last_updated(self, repo_file: Path) -> str: + def last_updated(self, changelog_file: Path) -> str: """ Reads the first date of the changelog file.""" - lines: list = self.utils.read_text_file(repo_file) + lines: list = self.utils.read_text_file(changelog_file) days = ('Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun') for line in lines: if line.startswith(days):