Commit ebe6bf48 by ichuang

remove some unnecessary debugging lines in xmodule_modifiers

parent 7fe75030
...@@ -91,13 +91,8 @@ def add_histogram(get_html, module): ...@@ -91,13 +91,8 @@ def add_histogram(get_html, module):
# TODO (ichuang): Remove after fall 2012 LMS migration done # TODO (ichuang): Remove after fall 2012 LMS migration done
if settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION'): if settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION'):
filename = module.definition.get('filename','') filename = module.definition.get('filename','')
log.debug('filename = %s' % filename)
data_dir = module.system.filestore.root_path.rsplit('/')[-1] data_dir = module.system.filestore.root_path.rsplit('/')[-1]
edit_link = "https://github.com/MITx/%s/tree/master/%s" % (data_dir,filename) edit_link = "https://github.com/MITx/%s/tree/master/%s" % (data_dir,filename)
log.debug('edit_link = %s' % edit_link)
log.debug('module = %s' % dir(module))
log.debug('module type = %s' % type(module))
log.debug('location = %s' % str(module.location))
else: else:
edit_link = False edit_link = False
......
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