* [gentoo-commits] portage r13903 - main/trunk/pym/portage/sets
@ 2009-08-04 19:20 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-08-04 19:20 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-08-04 19:20:34 +0000 (Tue, 04 Aug 2009)
New Revision: 13903
Modified:
main/trunk/pym/portage/sets/files.py
Log:
Bug #280269 - Fix StaticFileSet.multiBuilder() to handle unicode filenames.
Modified: main/trunk/pym/portage/sets/files.py
===================================================================
--- main/trunk/pym/portage/sets/files.py 2009-08-04 18:45:48 UTC (rev 13902)
+++ main/trunk/pym/portage/sets/files.py 2009-08-04 19:20:34 UTC (rev 13903)
@@ -132,6 +132,9 @@
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"):
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-04 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 19:20 [gentoo-commits] portage r13903 - main/trunk/pym/portage/sets Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox