Update templates

This commit is contained in:
Dimitris Zlatanidis 2015-06-23 04:04:22 +03:00
parent 55bf9b05d6
commit 9669740441

View file

@ -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))
print("\n{0}Total found {1} packages in {2} repositories.{3}\n".format(
Msg().template(78)
print("{0} Total found {1} packages in {2} repositories.{3}\n".format(
_meta_.color["GREY"], count_pkg, count_repo, _meta_.color["ENDC"]))
except KeyboardInterrupt:
print("") # new line at exit