Minor layout adjustment for --threads and --eta output

This commit is contained in:
Bernardo Damele 2010-03-25 11:47:18 +00:00
parent a63e251b25
commit f4f68218bc

View File

@ -874,7 +874,6 @@ def __setConfAttributes():
conf.parameters = {} conf.parameters = {}
conf.path = None conf.path = None
conf.port = None conf.port = None
conf.progressWidth = 54
conf.redirectHandled = False conf.redirectHandled = False
conf.retriesCount = 0 conf.retriesCount = 0
conf.scheme = None conf.scheme = None
@ -887,6 +886,11 @@ def __setConfAttributes():
conf.threadException = False conf.threadException = False
conf.wFileType = None conf.wFileType = None
if conf.eta:
conf.progressWidth = 54
else:
conf.progressWidth = 34
def __setKnowledgeBaseAttributes(): def __setKnowledgeBaseAttributes():
""" """
This function set some needed attributes into the knowledge base This function set some needed attributes into the knowledge base