change "type" to "category" in xml_module.py

This commit is contained in:
ichuang
2012-07-08 22:04:54 -04:00
parent 0daf7b0497
commit aedcd9a4c4

View File

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