change installed package name length from 20 to 50
authorDohyung Kim <dohyung2.kim@samsung.com>
Fri, 28 Apr 2017 02:33:06 +0000 (11:33 +0900)
committerxiaojuan.mao <xiaojuan.mao@samsung.com>
Thu, 13 Jul 2017 03:19:00 +0000 (11:19 +0800)
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: If521e359f5bf13893dcd3f9c6885c8cdce0f8667

mic/utils/rpmmisc.py

index a3b166c..f2e5585 100644 (file)
@@ -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):