projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcd0d0
)
Make ebuild-ipc.py display EOFError if no data is read from the
author
Zac Medico
<zmedico@gentoo.org>
Fri, 10 Sep 2010 07:08:39 +0000
(
00:08
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 10 Sep 2010 07:08:39 +0000
(
00:08
-0700)
pipe.
bin/ebuild-ipc.py
patch
|
blob
|
history
diff --git
a/bin/ebuild-ipc.py
b/bin/ebuild-ipc.py
index 37659e96e1bdbeee91ce66266ed09d1f241a00c7..5569a24b581c4f2ec8ff3e6c6de2349678fa88f5 100755
(executable)
--- a/
bin/ebuild-ipc.py
+++ b/
bin/ebuild-ipc.py
@@
-89,8
+89,8
@@
class EbuildIpc(object):
try:
buf.fromfile(input_file, self._BUFSIZE)
except EOFError as e:
- #portage.util.writemsg("%s\n" % (e,), noiselevel=-1)
- pass
+ if not buf:
+ portage.util.writemsg("%s\n" % (e,), noiselevel=-1)
except IOError as e:
portage.util.writemsg("%s\n" % (e,), noiselevel=-1)