summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/_config/UseManager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/package/ebuild/_config/UseManager.py b/pym/portage/package/ebuild/_config/UseManager.py
index 6c646526b..32157ee7d 100644
--- a/pym/portage/package/ebuild/_config/UseManager.py
+++ b/pym/portage/package/ebuild/_config/UseManager.py
@@ -55,7 +55,7 @@ class UseManager(object):
pusedict = grabdict_package(
os.path.join(location, file_name), recursive=1, allow_wildcard=True, verify_eapi=False)
for k, v in pusedict.items():
- ret.setdefault(k.cp, {})[k] = v
+ ret.setdefault(k.cp, {})[k] = tuple(v)
return ret
@@ -103,9 +103,11 @@ class UseManager(object):
for k, v in profile_dict.items():
if juststrings:
v = " ".join(v)
+ else:
+ v = tuple(v)
cpdict.setdefault(k.cp, {})[k] = v
ret.append(cpdict)
- return ret
+ return tuple(ret)
def getUseMask(self, pkg=None):
if pkg is None: