Prevent output of '*' characters when there are no updates but fixpackages is in...
authorZac Medico <zmedico@gentoo.org>
Wed, 22 Feb 2006 23:50:49 +0000 (23:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 22 Feb 2006 23:50:49 +0000 (23:50 -0000)
svn path=/main/trunk/; revision=2763

pym/portage.py

index 3fcd3e9519dcca60d035c5aaec0e5fd09f961b4d..a7853f600ec16744cea8080ffd09261f0ed3d679 100644 (file)
@@ -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()