summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a914f2f32..65ee6e5c8 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2130,7 +2130,9 @@ class config(object):
if mydb:
if not hasattr(mydb, "aux_get"):
for k in aux_keys:
- pkg_configdict[k] = mydb.get(k, '')
+ v = mydb.get(k)
+ if v is not None:
+ pkg_configdict[k] = v
else:
for k, v in izip(aux_keys, mydb.aux_get(self.mycpv, aux_keys)):
pkg_configdict[k] = v