mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Improving code for Python 3
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
763d6ef50b
commit
8e341f918c
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ class Updates:
|
|||
"""
|
||||
def __init__(self, repo):
|
||||
self.repo = repo
|
||||
self.meta = _meta_
|
||||
self.green = _meta_.color["GREEN"]
|
||||
self.grey = _meta_.color["GREY"]
|
||||
self.endc = _meta_.color["ENDC"]
|
||||
|
@ -120,7 +121,7 @@ class Updates:
|
|||
def print_status(self, repo):
|
||||
"""Print status
|
||||
"""
|
||||
print(" {0}{1}{2}".format(repo, " " * (19 - len(repo)), self.st))
|
||||
print(f" {repo}{' ' * (19 - len(repo))}{self.st}")
|
||||
|
||||
def summary(self):
|
||||
"""Print summary
|
||||
|
|
Loading…
Add table
Reference in a new issue