From 9f1927572ba68ea9b43229e85dcd6a0732c420bd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 May 2011 16:50:15 -0700 Subject: [PATCH] EbuildPhase: extract binpkg env for pkg_pretend This will fix bug #366939. --- pym/_emerge/EbuildPhase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py index 5849e7797..66b6bc8bc 100644 --- a/pym/_emerge/EbuildPhase.py +++ b/pym/_emerge/EbuildPhase.py @@ -99,7 +99,7 @@ class EbuildPhase(CompositeTask): os.path.join(self.settings['PKGDIR'], self.settings['CATEGORY'], self.settings['PF']) + '.tbz2' - if self.phase == 'prerm': + if self.phase in ("pretend", "prerm"): env_extractor = BinpkgEnvExtractor(background=self.background, scheduler=self.scheduler, settings=self.settings) if env_extractor.saved_env_exists(): -- 2.26.2