From: lihuanhuan Date: Wed, 17 Apr 2013 05:05:24 +0000 (+0800) Subject: fix redundant whitespace in logging info X-Git-Tag: 0.22~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53c4d1da4b20ce01138dae2ab48b05407e97ab61;p=tools%2Fmic.git fix redundant whitespace in logging info Change-Id: I7e8103e802dcf7c473ec45681f075108a48597ca --- diff --git a/mic/utils/rpmmisc.py b/mic/utils/rpmmisc.py index 1c9287e..8d8ecfe 100644 --- a/mic/utils/rpmmisc.py +++ b/mic/utils/rpmmisc.py @@ -74,10 +74,10 @@ class RPMInstallCallback: fmt_bar = "%-" + width + "s" if progress: bar = fmt_bar % (self.mark * int(marks * (percent / 100.0)), ) - fmt = " %-10.10s: %-20.20s " + bar + " " + done + fmt = "%-10.10s: %-20.20s " + bar + " " + done else: bar = fmt_bar % (self.mark * marks, ) - fmt = " %-10.10s: %-20.20s " + bar + " " + done + fmt = "%-10.10s: %-20.20s " + bar + " " + done return fmt def _logPkgString(self, hdr):