mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Fixed indentation pkg view
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
d8f1b6701b
commit
f02af7747d
1 changed files with 5 additions and 3 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Reference in a new issue