From 0d20c192b9955a955cc2a235c0d27fc87aa3d3ab Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 31 Jan 2013 09:57:07 -0500 Subject: [PATCH] add exporting of course info --- common/lib/xmodule/xmodule/modulestore/xml_exporter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/lib/xmodule/xmodule/modulestore/xml_exporter.py b/common/lib/xmodule/xmodule/modulestore/xml_exporter.py index 5e85cd6fc5..3522b45718 100644 --- a/common/lib/xmodule/xmodule/modulestore/xml_exporter.py +++ b/common/lib/xmodule/xmodule/modulestore/xml_exporter.py @@ -23,6 +23,9 @@ def export_to_xml(modulestore, contentstore, course_location, root_dir, course_d # export the custom tags export_extra_content(export_fs, modulestore, course_location, 'custom_tag_template', 'custom_tags') + # export the course updates + export_extra_content(export_fs, modulestore, course_location, 'course_info', 'info', '.html') + def export_extra_content(export_fs, modulestore, course_location, category_type, dirname, file_suffix = ''): query_loc = Location('i4x', course_location.org, course_location.course, category_type, None)