Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b2867a69
Commit
b2867a69
authored
Jul 10, 2014
by
Sarina Canelake
Committed by
Diana Huang
Jul 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quality cleanup
parent
96420f30
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
common/lib/xmodule/xmodule/contentstore/content.py
+0
-1
common/lib/xmodule/xmodule/modulestore/__init__.py
+2
-2
common/lib/xmodule/xmodule/modulestore/tests/persistent_factories.py
+3
-1
common/lib/xmodule/xmodule/modulestore/tests/test_mongo.py
+1
-1
No files found.
common/lib/xmodule/xmodule/contentstore/content.py
View file @
b2867a69
...
...
@@ -12,7 +12,6 @@ from urllib import urlencode
from
opaque_keys.edx.locations
import
AssetLocation
from
opaque_keys.edx.keys
import
CourseKey
from
.django
import
contentstore
from
PIL
import
Image
...
...
common/lib/xmodule/xmodule/modulestore/__init__.py
View file @
b2867a69
...
...
@@ -459,8 +459,8 @@ class ModuleStoreReadBase(ModuleStoreRead):
return
next
(
(
c
.
id
for
c
in
self
.
get_courses
()
if
c
.
id
.
org
.
lower
()
==
course_id
.
org
.
lower
()
and
\
c
.
id
.
course
.
lower
()
==
course_id
.
course
.
lower
()
and
\
if
c
.
id
.
org
.
lower
()
==
course_id
.
org
.
lower
()
and
c
.
id
.
course
.
lower
()
==
course_id
.
course
.
lower
()
and
c
.
id
.
run
.
lower
()
==
course_id
.
run
.
lower
()
),
None
...
...
common/lib/xmodule/xmodule/modulestore/tests/persistent_factories.py
View file @
b2867a69
"""Provides factories for Split."""
from
xmodule.modulestore
import
ModuleStoreEnum
from
xmodule.course_module
import
CourseDescriptor
from
xmodule.x_module
import
XModuleDescriptor
import
factory
from
factory.helpers
import
lazy_attribute
# Factories don't have __init__ methods, and are self documenting
# pylint: disable=W0232, C0111
class
SplitFactory
(
factory
.
Factory
):
"""
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_mongo.py
View file @
b2867a69
...
...
@@ -26,7 +26,7 @@ from xmodule.modulestore import ModuleStoreEnum
from
xmodule.modulestore.mongo
import
MongoModuleStore
,
MongoKeyValueStore
from
xmodule.modulestore.draft
import
DraftModuleStore
from
opaque_keys.edx.locations
import
SlashSeparatedCourseKey
,
AssetLocation
from
opaque_keys.edx.keys
import
UsageKey
,
CourseKey
from
opaque_keys.edx.keys
import
UsageKey
from
xmodule.modulestore.xml_exporter
import
export_to_xml
from
xmodule.modulestore.xml_importer
import
import_from_xml
,
perform_xlint
from
xmodule.contentstore.mongo
import
MongoContentStore
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment