From 19c9f21ecddc2ed7092e91a57fe219e3082aa18c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 13 Jun 2011 06:01:26 -0700 Subject: [PATCH] Scheduler: make --fetchonly skip pkg_pretend --- pym/_emerge/Scheduler.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index c3752c54f..b88e2c29b 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -1048,9 +1048,10 @@ class Scheduler(PollScheduler): if rval != os.EX_OK and not keep_going: return rval - rval = self._run_pkg_pretend() - if rval != os.EX_OK: - return rval + if not fetchonly: + rval = self._run_pkg_pretend() + if rval != os.EX_OK: + return rval while True: -- 2.26.2