mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for naming
This commit is contained in:
parent
a7624c8430
commit
e116ecdc5b
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue