Skip to content
Snippets Groups Projects
Unverified Commit b2a32bbb authored by Martin Segado's avatar Martin Segado Committed by GitHub
Browse files

Fix double-wrapped exception in capa/inputtypes.py

(accidentally introduced in 07df64eb last year)
parent 458b8b14
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,6 @@ class InputTypeBase(object):
# Something went wrong: add xml to message, but keep the traceback
msg = u"Error in xml '{x}': {err} ".format(
x=etree.tostring(xml), err=text_type(err))
msg = Exception(msg)
six.reraise(Exception, Exception(msg), sys.exc_info()[2])
@classmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment