--- a/E5Gui/E5Application.py Tue Oct 15 22:03:54 2013 +0200 +++ b/E5Gui/E5Application.py Fri Oct 18 23:00:41 2013 +0200 @@ -64,7 +64,8 @@ @exception KeyError raised when the given name is already in use """ if name in self.__pluginObjectRegistry: - raise KeyError('Pluginobject "{0}" already registered.'.format(name)) + raise KeyError( + 'Pluginobject "{0}" already registered.'.format(name)) else: self.__pluginObjectRegistry[name] = (object, pluginType) @@ -88,7 +89,8 @@ if name in self.__pluginObjectRegistry: return self.__pluginObjectRegistry[name][0] else: - raise KeyError('Pluginobject "{0}" is not registered.'.format(name)) + raise KeyError( + 'Pluginobject "{0}" is not registered.'.format(name)) def getPluginObjects(self): """ @@ -113,6 +115,7 @@ if name in self.__pluginObjectRegistry: return self.__pluginObjectRegistry[name][1] else: - raise KeyError('Pluginobject "{0}" is not registered.'.format(name)) + raise KeyError( + 'Pluginobject "{0}" is not registered.'.format(name)) e5App = QCoreApplication.instance