Commit f5ee2762 by Calen Pennington

Log the correct id attribute in capa_problem

parent 5dfc0e4c
......@@ -265,7 +265,7 @@ class LoncapaProblem(object):
parent = inc.getparent() # insert new XML into tree in place of inlcude
parent.insert(parent.index(inc),incxml)
parent.remove(inc)
log.debug('Included %s into %s' % (file, self.id))
log.debug('Included %s into %s' % (file, self.problem_id))
def _extract_context(self, tree, seed=struct.unpack('i', os.urandom(4))[0]): # private
'''
......
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