From 8e41dd6d091029c2a5e584f9c8eb4e1c6778edae Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Feb 19 2019 22:29:25 +0000 Subject: remove sys.exc_clear() in web ui sys.exc_clear() doesn't exist in py3. It also doesn't seem to be really needed, so it should be safe to drop it. --- diff --git a/www/kojiweb/index.py b/www/kojiweb/index.py index 3a4a510..04248dc 100644 --- a/www/kojiweb/index.py +++ b/www/kojiweb/index.py @@ -669,9 +669,6 @@ def taskinfo(environ, taskID): excClass, exc = sys.exc_info()[:2] values['result'] = exc values['excClass'] = excClass - # clear the exception, since we're just using - # it for display purposes - sys.exc_clear() else: values['result'] = None values['excClass'] = None