Fix python3 issues
This commit is contained in:
parent
d93f8ce937
commit
0d405cc8d4
4 changed files with 8 additions and 7 deletions
|
@ -704,7 +704,7 @@ class MemoryBuffer(Buffer):
|
|||
res, escape = evalEntry.evaluate(context)
|
||||
if escape: result.dumpContent(res)
|
||||
else: result.write(res)
|
||||
except EvaluationError, e:
|
||||
except EvaluationError as e:
|
||||
# This exception has already been treated (see the
|
||||
# "except" block below). Simply re-raise it when needed.
|
||||
if self.env.raiseOnError: raise e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue