projects
/
platform
/
upstream
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1c0ebe
)
output all install log even stdout not a tty
author
Gui Chen
<gui.chen@intel.com>
Wed, 30 May 2012 06:07:06 +0000
(14:07 +0800)
committer
Gui Chen
<gui.chen@intel.com>
Wed, 30 May 2012 06:07:06 +0000
(14:07 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/utils/rpmmisc.py
patch
|
blob
|
history
diff --git
a/mic/utils/rpmmisc.py
b/mic/utils/rpmmisc.py
index
fd25fe8
..
4e49715
100644
(file)
--- 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: