remove unused import commands (which were used for temporary profiling). Also change get_lms_link_for_item() to preserve the previous argument ordering. Apparently all callers may not use argument name conventions for the 'preview' argument.

This commit is contained in:
Chris Dodge
2013-02-28 09:40:30 -05:00
parent 905199b5eb
commit 8a7211da05
2 changed files with 1 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ def get_course_for_item(location):
return courses[0]
def get_lms_link_for_item(location, course_id=None, preview=False):
def get_lms_link_for_item(location, preview=False, course_id=None):
if course_id is None:
course_id = get_course_id(location)

View File

@@ -2,8 +2,6 @@ import pymongo
import sys
import logging
import copy
import time
import traceback
from bson.son import SON
from fs.osfs import OSFS