mirror of https://github.com/kivy/kivy.git
remove sys.exc_clear
This commit is contained in:
parent
4a565737b3
commit
a64d77fb7d
|
@ -876,10 +876,7 @@ class ParserException(Exception):
|
|||
self.filename, self.line + 1, sc, message)
|
||||
if cause:
|
||||
message += '\n' + ''.join(traceback.format_tb(cause))
|
||||
try:
|
||||
sys.exc_clear()
|
||||
except:
|
||||
pass
|
||||
|
||||
super(ParserException, self).__init__(message)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue