py2 -> py3

This commit is contained in:
Yann Leboulanger 2014-03-27 12:42:19 +01:00
parent 593e29bcd1
commit 0e8bb9e579
1 changed files with 3 additions and 3 deletions

View File

@ -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)