Commit 128d11e2 by Victor Shnayder

line length fixes

parent 168f76ce
...@@ -13,7 +13,8 @@ from xmodule.course_module import CourseDescriptor ...@@ -13,7 +13,8 @@ from xmodule.course_module import CourseDescriptor
from mitxmako.shortcuts import render_to_string from mitxmako.shortcuts import render_to_string
from . import ModuleStore, Location from . import ModuleStore, Location
from .exceptions import ItemNotFoundError, InsufficientSpecificationError, NoPathToItem from .exceptions import (ItemNotFoundError, InsufficientSpecificationError,
NoPathToItem)
# TODO (cpennington): This code currently operates under the assumption that # TODO (cpennington): This code currently operates under the assumption that
# there is only one revision for each item. Once we start versioning inside the CMS, # there is only one revision for each item. Once we start versioning inside the CMS,
...@@ -155,7 +156,8 @@ class MongoModuleStore(ModuleStore): ...@@ -155,7 +156,8 @@ class MongoModuleStore(ModuleStore):
def _load_items(self, items, depth=0): def _load_items(self, items, depth=0):
""" """
Load a list of xmodules from the data in items, with children cached up to specified depth Load a list of xmodules from the data in items, with children cached up
to specified depth
""" """
data_cache = self._cache_children(items, depth) data_cache = self._cache_children(items, depth)
...@@ -369,4 +371,3 @@ class MongoModuleStore(ModuleStore): ...@@ -369,4 +371,3 @@ class MongoModuleStore(ModuleStore):
position = None position = None
return (course_id, chapter, section, position) return (course_id, chapter, section, position)
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