Commit 5463f2f3 by Calen Pennington

Log the correct id attribute in capa_problem

parent 78f2a1eb
...@@ -265,7 +265,7 @@ class LoncapaProblem(object): ...@@ -265,7 +265,7 @@ class LoncapaProblem(object):
parent = inc.getparent() # insert new XML into tree in place of inlcude parent = inc.getparent() # insert new XML into tree in place of inlcude
parent.insert(parent.index(inc),incxml) parent.insert(parent.index(inc),incxml)
parent.remove(inc) 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 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