From: Michał Górny Date: Mon, 3 May 2010 07:44:10 +0000 (+0200) Subject: Use keep_going local var. X-Git-Tag: v2.2_rc68~619 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bccfde3d19acec66b1a770d949a353c32826c87a;p=portage.git Use keep_going local var. Use keep_going local var instead of checking self.myopts once again. --- diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index d89fa480e..b8dac2625 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -1095,7 +1095,7 @@ class Scheduler(PollScheduler): msg() if len(self._failed_pkgs_all) > 1 or \ - (self._failed_pkgs_all and "--keep-going" in self.myopts): + (self._failed_pkgs_all and keep_going): if len(self._failed_pkgs_all) > 1: msg = "The following %d packages have " % \ len(self._failed_pkgs_all) + \