depgraph: fix duplicate zero pkg count display
authorZac Medico <zmedico@gentoo.org>
Mon, 1 Aug 2011 22:57:04 +0000 (15:57 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 1 Aug 2011 22:57:04 +0000 (15:57 -0700)
pym/_emerge/depgraph.py

index 70f9a99dd7af406b97f71ab64fe0fbd440a471f1..5b48aca414696db6807f615a07a28d6721dc621e 100644 (file)
@@ -5555,7 +5555,7 @@ class depgraph(object):
 
        def _show_merge_list(self):
                if self._dynamic_config._serialized_tasks_cache is not None and \
-                       not (self._dynamic_config._displayed_list and \
+                       not (self._dynamic_config._displayed_list is not None and \
                        (self._dynamic_config._displayed_list == self._dynamic_config._serialized_tasks_cache or \
                        self._dynamic_config._displayed_list == \
                                list(reversed(self._dynamic_config._serialized_tasks_cache)))):