diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-01-23 17:32:01 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-01-23 17:32:01 -0800 |
commit | dfcc6b4ca03ba2105e88b88764bbde724b3bae09 (patch) | |
tree | 7b3664a04992295ab507a5f984aa449a074d4fe8 | |
parent | Add debug output for cases like bug #453400. (diff) | |
download | portage-2.2.0_alpha160.tar.gz portage-2.2.0_alpha160.tar.bz2 portage-2.2.0_alpha160.zip |
Package._init_use: always sync _metadatav2.2.0_alpha160
-rw-r--r-- | pym/_emerge/Package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 19b7c4cd9..ae0357661 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -593,8 +593,6 @@ class Package(Task): if not use_str: use_str = self._get_pkgsettings()["PORTAGE_USE"] calculated_use = True - _PackageMetadataWrapperBase.__setitem__( - self._metadata, 'USE', use_str) self._use = self._use_class( self, use_str.split()) # Initialize these now, since USE access has just triggered @@ -603,6 +601,9 @@ class Package(Task): if calculated_use: self._use._init_force_mask() + _PackageMetadataWrapperBase.__setitem__( + self._metadata, 'USE', use_str) + return use_str class _iuse(object): |