From f02af7747d695d3ace2849bd56abadd9e34299fe Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 23 Apr 2022 20:49:48 +0300 Subject: [PATCH] Fixed indentation pkg view Signed-off-by: Dimitris Zlatanidis --- slpkg/pkg_find.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/slpkg/pkg_find.py b/slpkg/pkg_find.py index 93ef36ce..54b692db 100644 --- a/slpkg/pkg_find.py +++ b/slpkg/pkg_find.py @@ -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 "