mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Fix view align
This commit is contained in:
parent
8f64fedf65
commit
6a7e84f68f
4 changed files with 7 additions and 7 deletions
|
@ -229,9 +229,9 @@ class BinaryInstall(object):
|
|||
COLOR = self.meta.color["RED"]
|
||||
uni_sum += 1
|
||||
ver = get_installed_version(pkg_split[0])
|
||||
print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format(
|
||||
print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format(
|
||||
COLOR, pkg_split[0] + ver, self.meta.color["ENDC"],
|
||||
" " * (24-len(pkg_split[0] + ver)), pkg_split[1],
|
||||
" " * (23-len(pkg_split[0] + ver)), pkg_split[1],
|
||||
" " * (18-len(pkg_split[1])), pkg_split[2],
|
||||
" " * (8-len(pkg_split[2])), pkg_split[3],
|
||||
" " * (7-len(pkg_split[3])), repo,
|
||||
|
|
|
@ -107,7 +107,7 @@ class Updates(object):
|
|||
def print_status(self, repo):
|
||||
"""Print status
|
||||
"""
|
||||
print(" {0}{1}{2}".format(repo, " " * (20 - len(repo)), self.st))
|
||||
print(" {0}{1}{2}".format(repo, " " * (19 - len(repo)), self.st))
|
||||
|
||||
def summary(self):
|
||||
"""Print summary
|
||||
|
|
|
@ -213,9 +213,9 @@ class SBoInstall(object):
|
|||
args[3] arch
|
||||
"""
|
||||
ver = get_installed_version(args[1])
|
||||
print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format(
|
||||
print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format(
|
||||
args[0], args[1] + ver, self.meta.color["ENDC"],
|
||||
" " * (24-len(args[1] + ver)), args[2],
|
||||
" " * (23-len(args[1] + ver)), args[2],
|
||||
" " * (18-len(args[2])), args[3],
|
||||
" " * (15-len(args[3])), "",
|
||||
"", "SBo", "", "")).rstrip()
|
||||
|
|
|
@ -163,9 +163,9 @@ class Patches(object):
|
|||
if not find_package(pkg_split[0], self.meta.pkg_path):
|
||||
color = self.meta.color["RED"]
|
||||
ver = get_installed_version(pkg_split[0])
|
||||
print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>12}{12}".format(
|
||||
print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>12}{12}".format(
|
||||
color, pkg_split[0] + ver, self.meta.color["ENDC"],
|
||||
" " * (24-len(pkg_split[0] + ver)), pkg_split[1],
|
||||
" " * (23-len(pkg_split[0] + ver)), pkg_split[1],
|
||||
" " * (18-len(pkg_split[1])), pkg_split[2],
|
||||
" " * (8-len(pkg_split[2])), pkg_split[3],
|
||||
" " * (7-len(pkg_split[3])), "Slack",
|
||||
|
|
Loading…
Reference in a new issue