diff options
author | Marius Mauch <genone@gentoo.org> | 2007-01-18 20:00:38 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-01-18 20:00:38 +0000 |
commit | 6f483174ffc40f6a2a7243fd1bf3123386829e8a (patch) | |
tree | 0a53bdbbe0ed9452ce041c88ea7c631f3d289684 | |
parent | e692c373f1c1b75c71305843dbb1d904d8eb8dba (diff) | |
download | portage-6f483174ffc40f6a2a7243fd1bf3123386829e8a.tar.gz portage-6f483174ffc40f6a2a7243fd1bf3123386829e8a.tar.bz2 portage-6f483174ffc40f6a2a7243fd1bf3123386829e8a.zip |
Don't load a module if there is nothing to process after filtering
svn path=/main/trunk/; revision=5709
-rw-r--r-- | pym/portage.py | 2 |
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: |