From: Zac Medico Date: Mon, 1 Aug 2011 22:57:04 +0000 (-0700) Subject: depgraph: fix duplicate zero pkg count display X-Git-Tag: v2.2.0_alpha50~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c72376156311ffa96a5d130bd8b0a207b3fc9ceb;p=portage.git depgraph: fix duplicate zero pkg count display --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 70f9a99dd..5b48aca41 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -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)))):