1 |
commit: e3f2b5a95fbe028d32aca8e5b268237a87260917 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 9 05:04:16 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 9 05:04:16 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e3f2b5a9 |
7 |
|
8 |
MergeProcess: handle POLLHUP from elog pipe |
9 |
|
10 |
--- |
11 |
pym/portage/dbapi/_MergeProcess.py | 2 ++ |
12 |
1 files changed, 2 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/dbapi/_MergeProcess.py b/pym/portage/dbapi/_MergeProcess.py |
15 |
index eed7bd4..d03049a 100644 |
16 |
--- a/pym/portage/dbapi/_MergeProcess.py |
17 |
+++ b/pym/portage/dbapi/_MergeProcess.py |
18 |
@@ -83,6 +83,8 @@ class MergeProcess(SpawnProcess): |
19 |
reporter = getattr(portage.elog.messages, funcname) |
20 |
reporter(msg, phase=phase, key=key, out=out) |
21 |
|
22 |
+ self._unregister_if_appropriate(event) |
23 |
+ |
24 |
return True |
25 |
|
26 |
def _spawn(self, args, fd_pipes, **kwargs): |