From aedcd9a4c459598129d43d9f0c571b59705643f3 Mon Sep 17 00:00:00 2001 From: ichuang Date: Sun, 8 Jul 2012 22:04:54 -0400 Subject: [PATCH] change "type" to "category" in xml_module.py --- common/lib/xmodule/xmodule/xml_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/xml_module.py b/common/lib/xmodule/xmodule/xml_module.py index 16016ca23f..0b0b1225b1 100644 --- a/common/lib/xmodule/xmodule/xml_module.py +++ b/common/lib/xmodule/xmodule/xml_module.py @@ -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): """