From f4f68218bc806290bf161524923a849a5c6d7780 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 25 Mar 2010 11:47:18 +0000 Subject: [PATCH] Minor layout adjustment for --threads and --eta output --- lib/core/option.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 22acf4f4b..2a6ea84cb 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -874,7 +874,6 @@ def __setConfAttributes(): conf.parameters = {} conf.path = None conf.port = None - conf.progressWidth = 54 conf.redirectHandled = False conf.retriesCount = 0 conf.scheme = None @@ -887,6 +886,11 @@ def __setConfAttributes(): conf.threadException = False conf.wFileType = None + if conf.eta: + conf.progressWidth = 54 + else: + conf.progressWidth = 34 + def __setKnowledgeBaseAttributes(): """ This function set some needed attributes into the knowledge base