Update toolbar status

This commit is contained in:
Dimitris Zlatanidis 2015-07-06 05:46:44 +03:00
parent 707b607bee
commit 23070e979f
2 changed files with 5 additions and 5 deletions

View file

@ -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:

View file

@ -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()