PluginManager/PluginExceptions.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2992
dbdf27746da5
child 3058
0a02c433f52d
--- 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)

eric ide

mercurial