From a64d77fb7d1bc2d36558b77cd76af33ca6cb91b1 Mon Sep 17 00:00:00 2001 From: dessant Date: Tue, 10 Jun 2014 11:52:45 +0300 Subject: [PATCH] remove sys.exc_clear --- kivy/lang.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kivy/lang.py b/kivy/lang.py index a6c516a9f..bea1fb8a9 100755 --- a/kivy/lang.py +++ b/kivy/lang.py @@ -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)