summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index f093f5493..c9fdbe6fa 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -529,7 +529,7 @@ def elog_process(cpv, mysettings):
except OSError:
pass
# shortcut for packages without any messages
- if len(mylogfiles) == 0:
+ if not mylogfiles:
return
# exploit listdir() file order so we process log entries in chronological order
mylogfiles.reverse()