PluginManager/PluginExceptions.py

changeset 2992
dbdf27746da5
parent 2302
f29e9405c851
child 3022
57179e4cdadd
child 3057
10516539f238
--- a/PluginManager/PluginExceptions.py	Sun Oct 06 19:52:33 2013 +0200
+++ b/PluginManager/PluginExceptions.py	Mon Oct 07 19:10:11 2013 +0200
@@ -71,7 +71,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):
         """
@@ -80,13 +81,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):
         """
@@ -95,8 +99,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):
@@ -111,9 +117,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):
@@ -125,10 +132,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)

eric ide

mercurial