From: Zac Medico Date: Thu, 17 Jul 2008 09:57:30 +0000 (-0000) Subject: Don't increment the "complete" count for uninstall tasks. X-Git-Tag: v2.2_rc2~67 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bce4066ade962cedd1fc5f2090a71da0ad2f7408;p=portage.git Don't increment the "complete" count for uninstall tasks. svn path=/main/trunk/; revision=11097 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index ea971b2fa..8e4dd5e19 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8985,7 +8985,8 @@ class Scheduler(PollScheduler): self._do_merge_exit(merge) self._deallocate_config(merge.merge.settings) self._schedule() - if merge.returncode == os.EX_OK: + if merge.returncode == os.EX_OK and \ + not merge.merge.pkg.installed: self._status_display.curval += 1 self._status_display.merges = len(self._task_queues.merge) self._status_display.display()