Fixed indentation pkg view

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-04-23 20:49:48 +03:00
parent d8f1b6701b
commit f02af7747d

View file

@ -46,7 +46,8 @@ class FindFromRepos:
def find(self, pkg, flag):
"""Start to find packages and print
"""
print(f"Packages with name matching [ {self.cyan}{', '.join(pkg)}{self.endc} ]\n")
print(f"Packages with name matching [ {self.cyan}"
f"{', '.join(pkg)}{self.endc} ]\n")
self.msg.template(78)
print(f"| Repository Package {' ' * 54}Size")
self.msg.template(78)
@ -68,8 +69,9 @@ class FindFromRepos:
self.cache = repo
self.count_pkg += 1
ver = self.sbo_version(repo, find)
print(f" {self.cyan}{repo}{self.endc}{' ' * (12 - len(repo))}{find + ver} "
f"{' ' * (53 -len(find + ver))}{size:>11}")
print(f" {self.cyan}{repo}{self.endc}"
f"{' ' * (11 - len(repo))}{find + ver} "
f"{' ' * (54 -len(find + ver))}{size:>11}")
print("\nFound summary")
print("=" * 79)
print(f"{self.grey}Total found {self.count_pkg} packages in "