From d6c1130869719dd836b548ade96d0ecd7b52aced Mon Sep 17 00:00:00 2001 From: Dohyung Kim Date: Fri, 28 Apr 2017 11:33:06 +0900 Subject: [PATCH] change installed package name length from 20 to 50 Signed-off-by: Dohyung Kim Change-Id: If521e359f5bf13893dcd3f9c6885c8cdce0f8667 --- mic/utils/rpmmisc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mic/utils/rpmmisc.py b/mic/utils/rpmmisc.py index a3b166c..f2e5585 100644 --- a/mic/utils/rpmmisc.py +++ b/mic/utils/rpmmisc.py @@ -75,10 +75,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: %-50.50s " + bar + " " + done else: bar = fmt_bar % (self.mark * marks, ) - fmt = "%-10.10s: %-20.20s " + bar + " " + done + fmt = "%-10.10s: %-50.50s " + bar + " " + done return fmt def _logPkgString(self, hdr): -- 2.7.4