summaryrefslogtreecommitdiffstats
path: root/pym/portage/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/data.py')
-rw-r--r--pym/portage/data.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index 3ae286b34..d87387bdc 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -35,6 +35,9 @@ if not lchown:
" exist. Please rebuild python.\n", noiselevel=-1)
lchown()
+if sys.hexversion < 0x3000000:
+ lchown = portage._unicode_func_wrapper(lchown)
+
def portage_group_warning():
warn_prefix = colorize("BAD", "*** WARNING *** ")
mylines = [