From 0e8bb9e579a1c2c70ebc57921fccc605b6b44ca2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 27 Mar 2014 12:42:19 +0100 Subject: [PATCH] py2 -> py3 --- src/plugins/pluginmanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/pluginmanager.py b/src/plugins/pluginmanager.py index 5602f5221..b1a3f9d33 100644 --- a/src/plugins/pluginmanager.py +++ b/src/plugins/pluginmanager.py @@ -257,7 +257,7 @@ class PluginManager(metaclass=Singleton): gui_extpoint_name]: try: handlers[0](*args) - except Exception, e: + except Exception as e: log.warning('Error executing %s', handlers[0], exc_info=True) @@ -332,7 +332,7 @@ class PluginManager(metaclass=Singleton): if handler: try: handler(*gui_extension_point_args) - except Exception, e: + except Exception as e: log.warning('Error executing %s', handler, exc_info=True) @@ -367,7 +367,7 @@ class PluginManager(metaclass=Singleton): if handler: try: handler(*gui_extension_point_args) - except Exception, e: + except Exception as e: log.warning('Error executing %s', handler, exc_info=True)