summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3d7a887d7..4acb1e201 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -524,6 +524,8 @@ def elog_process(cpv, mysettings):
else:
mod_logentries = default_logentries
mod_fulllog = default_fulllog
+ if len(mod_logentries) == 0:
+ continue
# - is nicer than _ for module names, so allow people to use it.
s = s.replace("-", "_")
try: