Updated for version

This commit is contained in:
Dimitris Zlatanidis 2023-04-01 16:47:31 +03:00
parent a48e35876c
commit 5b76f52ba9

View file

@ -52,7 +52,7 @@ class SearchPackage(Configs):
if repo == '*':
repository: str = f'{pr[1]}: '
print(f'{repository}{self.cyan}{pr[0]}{self.endc}-{self.yellow}{version}{self.endc}'
print(f'{repository}{self.cyan}{pr[0]}{self.endc} {self.yellow}{version}{self.endc}'
f'{self.green}{desc}{self.endc}')
else:
pkg_repo: list = BinQueries('', repo).all_package_names_by_repo()
@ -66,7 +66,7 @@ class SearchPackage(Configs):
desc: str = BinQueries(pr, repo).description()
version: str = BinQueries(pr, repo).version()
print(f'{repository}{self.cyan}{pr}{self.endc}-{self.yellow}{version}{self.endc}'
print(f'{repository}{self.cyan}{pr}{self.endc} {self.yellow}{version}{self.endc}'
f'{self.green}{desc}{self.endc}')
else: