Updated for version print

This commit is contained in:
Dimitris Zlatanidis 2023-03-31 22:16:51 +03:00
parent 05d7d4ca60
commit 721a239b70
2 changed files with 5 additions and 5 deletions

View file

@ -53,7 +53,7 @@ class Dependees(Configs):
else:
version: str = SBoQueries(pkg).version()
package: str = f'{self.byellow}{pkg}-{version}{self.endc}'
package: str = f'{self.byellow}{pkg} {version}{self.endc}'
print(package)
@ -73,7 +73,7 @@ class Dependees(Configs):
else:
version: str = SBoQueries(dep[0]).version()
dependency: str = (f'{self.cyan}{dep[0]}{self.endc}-{self.yellow}'
dependency: str = (f'{self.cyan}{dep[0]}{self.endc} {self.yellow}'
f'{version}{self.endc}')
if i == 1:

View file

@ -47,7 +47,7 @@ class Tracking(Configs):
if self.utils.is_option(self.flag_bin_repository, self.flags):
version: str = BinQueries(package, repo).version()
pkg = f'{self.yellow}{package}-{version}{self.endc}'
pkg = f'{self.yellow}{package} {version}{self.endc}'
if self.utils.is_option(self.flag_bin_repository, self.flags):
requires: list = Required(package, repo).resolve()
@ -67,9 +67,9 @@ class Tracking(Configs):
if self.utils.is_option(self.flag_pkg_version, self.flags):
version: str = f"-{self.yellow}{SBoQueries(req).version()}{self.endc}"
version: str = f" {self.yellow}{SBoQueries(req).version()}{self.endc}"
if self.utils.is_option(self.flag_bin_repository, self.flags):
version: str = f"-{self.yellow}{BinQueries(req, repo).version()}{self.endc}"
version: str = f" {self.yellow}{BinQueries(req, repo).version()}{self.endc}"
require: str = f'{self.cyan}{req}{self.endc}{version}'