diff options
author | Michał Górny <gentoo@mgorny.alt.pl> | 2010-05-03 09:44:10 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-05-03 01:05:32 -0700 |
commit | bccfde3d19acec66b1a770d949a353c32826c87a (patch) | |
tree | 8a23f331e7677e02791967f9fcf197728505e5f0 | |
parent | 9d9429b205a91400d61bd32b2ea63f1b6f9ea765 (diff) | |
download | portage-bccfde3d19acec66b1a770d949a353c32826c87a.tar.gz portage-bccfde3d19acec66b1a770d949a353c32826c87a.tar.bz2 portage-bccfde3d19acec66b1a770d949a353c32826c87a.zip |
Use keep_going local var.
Use keep_going local var instead of checking self.myopts once again.
-rw-r--r-- | pym/_emerge/Scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) + \ |