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,12 +53,13 @@ def find_from_repos(pkg):
|
||||||
cache = repo
|
cache = repo
|
||||||
count_pkg += 1
|
count_pkg += 1
|
||||||
ver = sbo_version(repo, find)
|
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)),
|
repo, " " * (12 - len(repo)),
|
||||||
find + ver, " " * (53 - len(find + ver)),
|
find + ver, " " * (53 - len(find + ver)),
|
||||||
size))
|
size))
|
||||||
Msg().template(78)
|
print("\nFound summary")
|
||||||
print("{0} Total found {1} packages in {2} repositories.{3}\n".format(
|
print("=" * 79)
|
||||||
|
print("{0}Total found {1} packages in {2} repositories.{3}\n".format(
|
||||||
_meta_.color["GREY"], count_pkg, count_repo, _meta_.color["ENDC"]))
|
_meta_.color["GREY"], count_pkg, count_repo, _meta_.color["ENDC"]))
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("") # new line at exit
|
print("") # new line at exit
|
||||||
|
|
Loading…
Reference in a new issue