Commit 9cfe31a2 by John Eskew

Remove unused xml_source_dirs from mixed modulestore config.

parent 47fdc841
...@@ -32,7 +32,7 @@ class StoreConstructors(object): ...@@ -32,7 +32,7 @@ class StoreConstructors(object):
draft, split = range(2) draft, split = range(2)
def mixed_store_config(data_dir, mappings, xml_source_dirs=None, store_order=None): def mixed_store_config(data_dir, mappings, store_order=None):
""" """
Return a `MixedModuleStore` configuration, which provides Return a `MixedModuleStore` configuration, which provides
access to both Mongo-backed courses. access to both Mongo-backed courses.
...@@ -51,13 +51,8 @@ def mixed_store_config(data_dir, mappings, xml_source_dirs=None, store_order=Non ...@@ -51,13 +51,8 @@ def mixed_store_config(data_dir, mappings, xml_source_dirs=None, store_order=Non
Keyword Args: Keyword Args:
xml_source_dirs (list): The directories containing XML courses to load from disk. store_order (list): List of StoreConstructors providing order of modulestores
to use in creating courses.
note: For the courses to be loaded into the XML modulestore and accessible do the following:
* xml_source_dirs should be the list of directories (relative to data_dir)
containing the courses you want to load
* mappings should be configured, pointing the xml courses to the xml modulestore
""" """
if store_order is None: if store_order is None:
store_order = [StoreConstructors.draft, StoreConstructors.split] store_order = [StoreConstructors.draft, StoreConstructors.split]
......
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