Append course modules to list of courses during import

This commit is contained in:
Calen Pennington
2013-03-06 18:14:14 -05:00
parent cec3475c9d
commit 094b18972c

View File

@@ -211,6 +211,7 @@ def import_from_xml(store, data_dir, course_dirs=None,
target_location_namespace,
verbose=verbose
)
course_items.append(module)
# Import the rest of the modules
for module in module_store.modules[course_id].itervalues():