From: Gui Chen Date: Wed, 30 May 2012 06:07:06 +0000 (+0800) Subject: output all install log even stdout not a tty X-Git-Tag: 0.11~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9236f578d2c290f3b48ac0de5c20a0ccf05fe8e;p=platform%2Fupstream%2Fmic.git output all install log even stdout not a tty Signed-off-by: Gui Chen --- diff --git a/mic/utils/rpmmisc.py b/mic/utils/rpmmisc.py index fd25fe8..4e49715 100644 --- a/mic/utils/rpmmisc.py +++ b/mic/utils/rpmmisc.py @@ -216,7 +216,7 @@ class RPMInstallCallback: pkgname = m.group(1) else: pkgname = os.path.basename(rpmloc) - if self.output and (sys.stdout.isatty() or self.total_installed == self.total_actions): + if self.output: fmt = self._makefmt(percent) msg = fmt % (self.headmsg, pkgname) if msg != self.lastmsg: