mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Updated for return
This commit is contained in:
parent
c572f741b5
commit
a7887c924d
1 changed files with 1 additions and 2 deletions
|
@ -78,14 +78,13 @@ class Utilities(Configs):
|
||||||
build: str = ''.join(re.findall(r'\d+', build_tag[:2]))
|
build: str = ''.join(re.findall(r'\d+', build_tag[:2]))
|
||||||
pkg_tag: str = build_tag[len(build):]
|
pkg_tag: str = build_tag[len(build):]
|
||||||
|
|
||||||
split: dict[str] = {
|
return {
|
||||||
'name': name,
|
'name': name,
|
||||||
'version': version,
|
'version': version,
|
||||||
'arch': arch,
|
'arch': arch,
|
||||||
'build': build,
|
'build': build,
|
||||||
'tag': pkg_tag
|
'tag': pkg_tag
|
||||||
}
|
}
|
||||||
return split
|
|
||||||
|
|
||||||
def finished_time(self, elapsed_time: float) -> None:
|
def finished_time(self, elapsed_time: float) -> None:
|
||||||
""" Printing the elapsed time. """
|
""" Printing the elapsed time. """
|
||||||
|
|
Loading…
Reference in a new issue