mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Update toolbar status
This commit is contained in:
parent
707b607bee
commit
23070e979f
2 changed files with 5 additions and 5 deletions
|
@ -546,7 +546,7 @@ class Initialization(object):
|
|||
try:
|
||||
with open("{0}{1}".format(path, archive), "w") as f:
|
||||
for line in contents_txt.splitlines():
|
||||
status(0.00005)
|
||||
status(0.00003)
|
||||
f.write(line + "\n")
|
||||
f.close()
|
||||
except KeyboardInterrupt:
|
||||
|
@ -666,7 +666,7 @@ class Update(object):
|
|||
enabled = only
|
||||
try:
|
||||
for repo in enabled:
|
||||
sys.stdout.write("{0}Update repository {1}... {2} ".format(
|
||||
sys.stdout.write("{0}Update repository {1}...{2} ".format(
|
||||
self.meta.color["GREY"], repo, self.meta.color["ENDC"]))
|
||||
sys.stdout.flush()
|
||||
if repo in default:
|
||||
|
|
|
@ -78,21 +78,21 @@ class Msg(object):
|
|||
def checking(self):
|
||||
"""Message checking
|
||||
"""
|
||||
sys.stdout.write("{0}Checking... {1} ".format(self.meta.color["GREY"],
|
||||
sys.stdout.write("{0}Checking...{1} ".format(self.meta.color["GREY"],
|
||||
self.meta.color["ENDC"]))
|
||||
sys.stdout.flush()
|
||||
|
||||
def reading(self):
|
||||
"""Message reading
|
||||
"""
|
||||
sys.stdout.write("{0}Reading package lists... {1} ".format(
|
||||
sys.stdout.write("{0}Reading package lists...{1} ".format(
|
||||
self.meta.color["GREY"], self.meta.color["ENDC"]))
|
||||
sys.stdout.flush()
|
||||
|
||||
def resolving(self):
|
||||
"""Message resolving
|
||||
"""
|
||||
sys.stdout.write("{0}Resolving dependencies... {1} ".format(
|
||||
sys.stdout.write("{0}Resolving dependencies...{1} ".format(
|
||||
self.meta.color["GREY"], self.meta.color["ENDC"]))
|
||||
sys.stdout.flush()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue