Use unicode for filepaths in data repos

This commit is contained in:
Calen Pennington
2012-07-03 21:22:36 -04:00
parent b0ff3053b9
commit 894ae58bc3

View File

@@ -158,7 +158,7 @@ class XmlDescriptor(XModuleDescriptor):
@classmethod
def _format_filepath(cls, type, name):
return '{type}/{name}.{ext}'.format(type=type, name=name, ext=cls.filename_extension)
return u'{type}/{name}.{ext}'.format(type=type, name=name, ext=cls.filename_extension)
def export_to_xml(self, resource_fs):
"""