From: Marius Mauch Date: Thu, 18 Jan 2007 20:00:38 +0000 (-0000) Subject: Don't load a module if there is nothing to process after filtering X-Git-Tag: v2.1.2-r3~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f483174ffc40f6a2a7243fd1bf3123386829e8a;p=portage.git Don't load a module if there is nothing to process after filtering svn path=/main/trunk/; revision=5709 --- 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: