diff -r 9986ec0e559a -r 10516539f238 PluginManager/PluginExceptions.py --- a/PluginManager/PluginExceptions.py Tue Oct 15 22:03:54 2013 +0200 +++ b/PluginManager/PluginExceptions.py Fri Oct 18 23:00:41 2013 +0200 @@ -73,7 +73,8 @@ class PluginLoadError(PluginError): """ - Class defining an error raised, when there was an error during plugin loading. + Class defining an error raised, when there was an error during plugin + loading. """ def __init__(self, name): """ @@ -82,13 +83,16 @@ @param name name of the plugin module (string) """ self._errorMessage = \ - QApplication.translate("PluginError", "Error loading plugin module: {0}")\ - .format(name) + QApplication.translate( + "PluginError", + "Error loading plugin module: {0}")\ + .format(name) class PluginActivationError(PluginError): """ - Class defining an error raised, when there was an error during plugin activation. + Class defining an error raised, when there was an error during plugin + activation. """ def __init__(self, name): """ @@ -97,8 +101,10 @@ @param name name of the plugin module (string) """ self._errorMessage = \ - QApplication.translate("PluginError", "Error activating plugin module: {0}")\ - .format(name) + QApplication.translate( + "PluginError", + "Error activating plugin module: {0}")\ + .format(name) class PluginModuleFormatError(PluginError): @@ -113,9 +119,10 @@ @param missing description of the missing element (string) """ self._errorMessage = \ - QApplication.translate("PluginError", - "The plugin module {0} is missing {1}.")\ - .format(name, missing) + QApplication.translate( + "PluginError", + "The plugin module {0} is missing {1}.")\ + .format(name, missing) class PluginClassFormatError(PluginError): @@ -127,10 +134,12 @@ Constructor @param name name of the plugin module (string) - @param class_ name of the class not satisfying the requirements (string) + @param class_ name of the class not satisfying the requirements + (string) @param missing description of the missing element (string) """ self._errorMessage = \ - QApplication.translate("PluginError", - "The plugin class {0} of module {1} is missing {2}.")\ - .format(class_, name, missing) + QApplication.translate( + "PluginError", + "The plugin class {0} of module {1} is missing {2}.")\ + .format(class_, name, missing)