diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index 52063c245d..be20cdd9f9 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -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