summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 28f42ba74..3da1281b9 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1205,6 +1205,7 @@ class config(object):
self._accept_chost_re = None
self._accept_license = None
self._accept_license_str = None
+ self._license_groups = {}
self.virtuals = {}
self.virts_p = {}
@@ -1290,6 +1291,7 @@ class config(object):
self._accept_license = copy.deepcopy(clone._accept_license)
self._plicensedict = copy.deepcopy(clone._plicensedict)
+ self._license_groups = copy.deepcopy(clone._license_groups)
else:
def check_var_directory(varname, var):
@@ -1782,7 +1784,6 @@ class config(object):
self.pprovideddict[mycatpkg]=[x]
# parse licensegroups
- self._license_groups = {}
for x in locations:
self._license_groups.update(
grabdict(os.path.join(x, "license_groups")))