vardbapi._aux_get: unicode EAPI key
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Dec 2011 00:32:48 +0000 (16:32 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Dec 2011 00:32:48 +0000 (16:32 -0800)
pym/portage/dbapi/vartree.py

index c2e90d8dc9e2bee69f07a1bfaae7add625dbeb94..d93d3c2ea26d205f02cc3a62b18eb68df228f79e 100644 (file)
@@ -743,7 +743,7 @@ class vardbapi(dbapi):
                                results[k] = v
 
                if results.get("EAPI") == "":
-                       results["EAPI"] = _unicode_decode('0')
+                       results[_unicode_decode("EAPI")] = _unicode_decode('0')
 
                return results