summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3fcd3e951..a7853f600 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5334,6 +5334,8 @@ class binarytree(packagetree):
return 1
def update_ents(self, update_iter):
+ if len(update_iter) == 0:
+ return
if not self.populated:
self.populate()