mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Improve templates
This commit is contained in:
parent
9669740441
commit
116f9d9338
1 changed files with 4 additions and 3 deletions
|
@ -53,11 +53,12 @@ def find_from_repos(pkg):
|
|||
cache = repo
|
||||
count_pkg += 1
|
||||
ver = sbo_version(repo, find)
|
||||
print("| {0}{1}{2} {3}{4:>11}".format(
|
||||
print(" {0}{1}{2} {3}{4:>11}".format(
|
||||
repo, " " * (12 - len(repo)),
|
||||
find + ver, " " * (53 - len(find + ver)),
|
||||
size))
|
||||
Msg().template(78)
|
||||
print("\nFound summary")
|
||||
print("=" * 79)
|
||||
print("{0}Total found {1} packages in {2} repositories.{3}\n".format(
|
||||
_meta_.color["GREY"], count_pkg, count_repo, _meta_.color["ENDC"]))
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Reference in a new issue