diff options
Diffstat (limited to 'pym/portage/sets/files.py')
-rw-r--r-- | pym/portage/sets/files.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py index aa4d6aac9..f4ecbae7c 100644 --- a/pym/portage/sets/files.py +++ b/pym/portage/sets/files.py @@ -132,6 +132,9 @@ class StaticFileSet(EditablePackageSet): if d[:1] == '.': dirs.remove(d) for filename in files: + if not isinstance(filename, unicode): + filename = unicode(filename, + encoding='utf_8', errors='replace') if filename[:1] == '.': continue if filename.endswith(".metadata"): |