Merge pull request #3809 from cpennington/ok-dead-code

Remove dead code
This commit is contained in:
Calen Pennington
2014-05-21 16:21:17 -04:00
4 changed files with 0 additions and 52 deletions

View File

@@ -41,13 +41,6 @@ from xmodule.modulestore.locations import SlashSeparatedCourseKey
log = logging.getLogger(__name__)
def get_course_id_no_run(location):
'''
Return the first two components of the course_id for this location (org/course)
'''
return "/".join([location.org, location.course])
class InvalidWriteError(Exception):
"""
Raised to indicate that writing to a particular key