From: Zac Medico Date: Thu, 24 Jan 2013 01:32:01 +0000 (-0800) Subject: Package._init_use: always sync _metadata X-Git-Tag: v2.2.0_alpha160 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dfcc6b4ca03ba2105e88b88764bbde724b3bae09;p=portage.git Package._init_use: always sync _metadata --- 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):