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
cab9bfcd
Commit
cab9bfcd
authored
Feb 07, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
12ff015b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
common/lib/xmodule/xmodule/combined_open_ended_module.py
+0
-1
common/lib/xmodule/xmodule/peer_grading_module.py
+5
-1
No files found.
common/lib/xmodule/xmodule/combined_open_ended_module.py
View file @
cab9bfcd
...
...
@@ -10,7 +10,6 @@ import os
import
sys
from
pkg_resources
import
resource_string
from
timeinfo
import
TimeInfo
from
.capa_module
import
only_one
,
ComplexEncoder
from
.editing_module
import
EditingDescriptor
...
...
common/lib/xmodule/xmodule/peer_grading_module.py
View file @
cab9bfcd
...
...
@@ -463,7 +463,8 @@ class PeerGradingModule(XModule):
# grab all peer grading module descriptors for this course
peer_grading_modules
=
modulestore
()
.
get_items
([
'i4x'
,
self
.
location
.
org
,
self
.
location
.
course
,
'peergrading'
,
None
],
self
.
system
.
course_id
)
peer_grading_modules
=
modulestore
()
.
get_items
(
[
'i4x'
,
self
.
location
.
org
,
self
.
location
.
course
,
'peergrading'
,
None
],
self
.
system
.
course_id
)
# construct a dictionary for fast lookups
module_dict
=
{}
...
...
@@ -473,6 +474,9 @@ class PeerGradingModule(XModule):
module_dict
[
linked_location
]
=
module
def
_find_corresponding_module_for_location
(
location
):
'''
find the peer grading module that links to the given location
'''
if
location
in
module_dict
:
return
module_dict
[
location
]
else
:
...
...
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