Commit 2b6e2b51 by Calen Pennington

Merge pull request #1056 from MITx/bugfix/ichuang/xml_importer

xml_importer bugfix - when importing without policy override use course_location
parents b250cad6 f84f08fa
......@@ -126,7 +126,7 @@ def import_from_xml(store, data_dir, course_dirs=None,
if static_content_store is not None:
import_static_content(module_store.modules[course_id], course_location, course_data_path, static_content_store,
target_location_namespace if target_location_namespace is not None else module_store.modules[course_id].location)
target_location_namespace if target_location_namespace is not None else course_location)
for module in module_store.modules[course_id].itervalues():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment