From 6f483174ffc40f6a2a7243fd1bf3123386829e8a Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 18 Jan 2007 20:00:38 +0000 Subject: Don't load a module if there is nothing to process after filtering svn path=/main/trunk/; revision=5709 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym/portage.py') 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: -- cgit v1.2.3-1-g7c22