Use keep_going local var.
authorMichał Górny <gentoo@mgorny.alt.pl>
Mon, 3 May 2010 07:44:10 +0000 (09:44 +0200)
committerZac Medico <zmedico@gentoo.org>
Mon, 3 May 2010 08:05:32 +0000 (01:05 -0700)
Use keep_going local var instead of checking self.myopts once again.

pym/_emerge/Scheduler.py

index d89fa480e1a121284434b8cb89c4bee3c293f11e..b8dac2625543f0988b5948dd24ce0f8eeca2bca5 100644 (file)
@@ -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) + \