summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Package.py5
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):