summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/porttree.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-18 15:05:42 -0800
committerZac Medico <zmedico@gentoo.org>2013-01-18 15:05:42 -0800
commite9a04922c144b267534e3335d2ff3d7bb8994b80 (patch)
tree0c43dc33336066103b605bc7441ac94bc85575b9 /pym/portage/dbapi/porttree.py
parent71235479ab208318dff391420f9695f5cfaa9594 (diff)
downloadportage-e9a04922c144b267534e3335d2ff3d7bb8994b80.tar.gz
portage-e9a04922c144b267534e3335d2ff3d7bb8994b80.tar.bz2
portage-e9a04922c144b267534e3335d2ff3d7bb8994b80.zip
Add workaround for Python 2.6.4 issue 4978
Avoid "TypeError: keywords must be strings" issue triggered by unicode_literals: http://bugs.python.org/issue4978
Diffstat (limited to 'pym/portage/dbapi/porttree.py')
-rw-r--r--pym/portage/dbapi/porttree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 321b6758a..e21e53ce6 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -155,10 +155,10 @@ class portdbapi(dbapi):
# portage group.
depcachedir_unshared = True
else:
- cache_kwargs.update({
+ cache_kwargs.update(portage._native_kwargs({
'gid' : portage_gid,
'perms' : 0o664
- })
+ }))
# If secpass < 1, we don't want to write to the cache
# since then we won't be able to apply group permissions