Commit 5899511c by ichuang

changed another debug print to use logging (module_render)

parent ca2b2247
...@@ -34,7 +34,7 @@ class I4xSystem(object): ...@@ -34,7 +34,7 @@ class I4xSystem(object):
else: else:
self.filestore = filestore self.filestore = filestore
if settings.DEBUG: if settings.DEBUG:
print "[courseware.module_render.I4xSystem] filestore path = %s" % filestore log.info("[courseware.module_render.I4xSystem] filestore path = %s" % filestore)
self.render_function = render_function self.render_function = render_function
self.exception404 = Http404 self.exception404 = Http404
self.DEBUG = settings.DEBUG self.DEBUG = settings.DEBUG
......
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