summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 162f70ffd..52e4c4286 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1733,7 +1733,7 @@ def emerge_main(args=None):
news_counts = count_unread_news(
root_config.trees["porttree"].dbapi,
root_config.trees["vartree"].dbapi)
- if list(filter(None, news_counts.values())):
+ if any(news_counts.values()):
display_news_notifications(news_counts)
elif "--quiet" not in myopts:
print("", colorize("GOOD", "*"), "No news items were found.")