From: Zac Medico Date: Mon, 13 Jun 2011 13:01:26 +0000 (-0700) Subject: Scheduler: make --fetchonly skip pkg_pretend X-Git-Tag: v2.2.0_alpha41~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19c9f21ecddc2ed7092e91a57fe219e3082aa18c;p=portage.git Scheduler: make --fetchonly skip pkg_pretend --- 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: