projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eee049
)
MergeProcess: flush stderr for traceback
author
Zac Medico
<zmedico@gentoo.org>
Sun, 7 Jul 2013 03:22:50 +0000
(20:22 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 7 Jul 2013 03:22:50 +0000
(20:22 -0700)
pym/portage/dbapi/_MergeProcess.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/_MergeProcess.py
b/pym/portage/dbapi/_MergeProcess.py
index 6c4104101f7499a705534a33f265cd8f8098c95e..0c207762e3bad4135a4cfbf24e02684166bd240c 100644
(file)
--- a/
pym/portage/dbapi/_MergeProcess.py
+++ b/
pym/portage/dbapi/_MergeProcess.py
@@
-233,6
+233,8
@@
class MergeProcess(ForkProcess):
raise
except:
traceback.print_exc()
+ # os._exit() skips stderr flush!
+ sys.stderr.flush()
finally:
os._exit(rval)