[pod] Added param Renderer.raiseOnError (False by default), that, if True, will force the Renderer to raise an error instead of dumping it into a note in the pod result.
This commit is contained in:
parent
114223a114
commit
f8f3c0e865
6 changed files with 75 additions and 61 deletions
|
@ -30,6 +30,8 @@ class PxEnvironment(XmlEnvironment):
|
|||
# XmlParser for better performance. Indeed, the base parser and env
|
||||
# process namespaces, and we do not need this for the PX parser.
|
||||
self.currentElem = None
|
||||
# Exceptions are always raised (for pod, it is not the case)
|
||||
self.raiseOnError = True
|
||||
|
||||
def addSubBuffer(self):
|
||||
subBuffer = self.currentBuffer.addSubBuffer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue