projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23ab040
)
When JobStatusDisplay.displayMessage() is called while the status is currently
author
Zac Medico
<zmedico@gentoo.org>
Sat, 19 Jul 2008 03:25:29 +0000
(
03:25
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 19 Jul 2008 03:25:29 +0000
(
03:25
-0000)
displayed, call display() after showing the given message.
svn path=/main/trunk/; revision=11129
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 6ebdb6ff77167a5a7ea99dbe75a883e5680c0243..22ef757094c7e3f578d7633d4476d884dfaaeb82 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-8473,12
+8473,18
@@
class JobStatusDisplay(object):
def displayMessage(self, msg):
+ was_displayed = self._displayed
+
if self._isatty and self._displayed:
self._erase()
self.out.write(self._format_msg(msg) + self._term_codes['newline'])
self._displayed = False
+ if was_displayed:
+ self._changed = True
+ self.display()
+
def reset(self):
self.maxval = 0
self.merges = 0