Commit bda46c42 by Calen Pennington

Fix some issues that were prevent lms start

parent 4f555f64
import copy
from fs.errors import ResourceNotFoundError
import itertools
import json import json
import logging import logging
from lxml import etree from lxml import etree
from lxml.html import rewrite_links
from path import path
import os
import sys
from pkg_resources import resource_string from pkg_resources import resource_string
from .capa_module import only_one, ComplexEncoder
from .editing_module import EditingDescriptor from .editing_module import EditingDescriptor
from .html_checker import check_html
from progress import Progress
from .stringify import stringify_children
from .x_module import XModule from .x_module import XModule
from .xml_module import XmlDescriptor from .xml_module import XmlDescriptor
from xmodule.modulestore import Location
from combined_open_ended_modulev1 import CombinedOpenEndedV1Module, CombinedOpenEndedV1Descriptor from combined_open_ended_modulev1 import CombinedOpenEndedV1Module, CombinedOpenEndedV1Descriptor
log = logging.getLogger("mitx.courseware") log = logging.getLogger("mitx.courseware")
......
import copy
from fs.errors import ResourceNotFoundError
import itertools
import json import json
import logging import logging
from lxml import etree from lxml import etree
from lxml.html import rewrite_links from lxml.html import rewrite_links
from path import path
import os
import sys
from pkg_resources import resource_string from pkg_resources import resource_string
from .capa_module import only_one, ComplexEncoder from .capa_module import ComplexEncoder
from .editing_module import EditingDescriptor from .editing_module import EditingDescriptor
from .html_checker import check_html
from progress import Progress from progress import Progress
from .stringify import stringify_children from .stringify import stringify_children
from .x_module import XModule
from .xml_module import XmlDescriptor from .xml_module import XmlDescriptor
from xmodule.modulestore import Location
import self_assessment_module import self_assessment_module
import open_ended_module import open_ended_module
from combined_open_ended_rubric import CombinedOpenEndedRubric, RubricParsingError from combined_open_ended_rubric import CombinedOpenEndedRubric
from .stringify import stringify_children
import dateutil import dateutil
import dateutil.parser import dateutil.parser
import datetime
from timeparse import parse_timedelta from timeparse import parse_timedelta
log = logging.getLogger("mitx.courseware") log = logging.getLogger("mitx.courseware")
......
import copy
from fs.errors import ResourceNotFoundError
import itertools
import json import json
import logging import logging
from lxml import etree
from lxml.html import rewrite_links
from lxml.html.clean import Cleaner, autolink_html from lxml.html.clean import Cleaner, autolink_html
from path import path
import os
import sys
import hashlib
import capa.xqueue_interface as xqueue_interface
import re import re
from pkg_resources import resource_string
from .capa_module import only_one, ComplexEncoder
from .editing_module import EditingDescriptor
from .html_checker import check_html
from progress import Progress from progress import Progress
from .stringify import stringify_children
from .xml_module import XmlDescriptor
from xmodule.modulestore import Location
from capa.util import * from capa.util import *
import open_ended_image_submission import open_ended_image_submission
...@@ -74,7 +56,7 @@ class OpenEndedChild(object): ...@@ -74,7 +56,7 @@ class OpenEndedChild(object):
'done': 'Problem complete', 'done': 'Problem complete',
} }
def __init__(self, system, location, definition, descriptor, static_data, def __init__(self, system, location, definition, descriptor, static_data,
instance_state=None, shared_state=None, **kwargs): instance_state=None, shared_state=None, **kwargs):
# Load instance state # Load instance state
if instance_state is not None: if instance_state is not None:
......
...@@ -24,7 +24,7 @@ from lxml.html import rewrite_links ...@@ -24,7 +24,7 @@ from lxml.html import rewrite_links
import os import os
from pkg_resources import resource_string from pkg_resources import resource_string
from .capa_module import only_one, ComplexEncoder from .capa_module import ComplexEncoder
from .editing_module import EditingDescriptor from .editing_module import EditingDescriptor
from .html_checker import check_html from .html_checker import check_html
from progress import Progress from progress import Progress
......
from xblock.core import Namespace, Boolean, Scope, String, List from xblock.core import Namespace, Boolean, Scope, String, List, Float
from xmodule.fields import Date, Timedelta from xmodule.fields import Date, Timedelta
......
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