Log the correct id attribute in capa_problem

This commit is contained in:
Calen Pennington
2012-07-02 20:15:28 -04:00
parent 78f2a1ebe7
commit 5463f2f348

View File

@@ -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
'''