Plugins/PluginVcsPySvn.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2791
a9577f248f04
parent 3004
c4bf32c791d0
child 3058
0a02c433f52d
diff -r 9986ec0e559a -r 10516539f238 Plugins/PluginVcsPySvn.py
--- a/Plugins/PluginVcsPySvn.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Plugins/PluginVcsPySvn.py	Fri Oct 18 23:00:41 2013 +0200
@@ -32,7 +32,8 @@
 className = "VcsPySvnPlugin"
 packageName = "__core__"
 shortDescription = "Implements the PySvn version control interface."
-longDescription = """This plugin provides the PySvn version control interface."""
+longDescription = \
+    """This plugin provides the PySvn version control interface."""
 pyqtApi = 2
 # End-Of-Header
 
@@ -71,8 +72,8 @@
     """
     Public function to get the indicators for this version control system.
     
-    @return dictionary with indicator as key and a tuple with the vcs name (string)
-        and vcs display string (string)
+    @return dictionary with indicator as key and a tuple with the vcs name
+        (string) and vcs display string (string)
     """
     global pluginTypename
     data = {}
@@ -100,10 +101,12 @@
     """
     Module function to create the configuration page.
     
+    @param configDlg reference to the configuration dialog (QDialog)
     @return reference to the configuration page
     """
     global subversionCfgPluginObject
-    from VcsPlugins.vcsPySvn.ConfigurationPage.SubversionPage import SubversionPage
+    from VcsPlugins.vcsPySvn.ConfigurationPage.SubversionPage import \
+        SubversionPage
     if subversionCfgPluginObject is None:
         subversionCfgPluginObject = VcsPySvnPlugin(None)
     page = SubversionPage(subversionCfgPluginObject)
@@ -114,7 +117,8 @@
     """
     Module function returning data as required by the configuration dialog.
     
-    @return dictionary with key "zzz_subversionPage" containing the relevant data
+    @return dictionary with key "zzz_subversionPage" containing the relevant
+    data
     """
     return {
         "zzz_subversionPage": \
@@ -129,7 +133,8 @@
     """
     Module function to prepare for an uninstallation.
     """
-    if not e5App().getObject("PluginManager").isPluginLoaded("PluginVcsSubversion"):
+    if not e5App().getObject("PluginManager").isPluginLoaded(
+            "PluginVcsSubversion"):
         Preferences.Prefs.settings.remove("Subversion")
     
 
@@ -155,8 +160,8 @@
         from VcsPlugins.vcsPySvn.ProjectHelper import SvnProjectHelper
         self.__projectHelperObject = SvnProjectHelper(None, None)
         try:
-            e5App().registerPluginObject(pluginTypename, self.__projectHelperObject,
-                                         pluginType)
+            e5App().registerPluginObject(
+                pluginTypename, self.__projectHelperObject, pluginType)
         except KeyError:
             pass    # ignore duplicate registration
         readShortcuts(pluginName=pluginTypename)
@@ -191,7 +196,6 @@
         Public method to retrieve the various settings.
         
         @param key the key of the value to get
-        @param prefClass preferences class used as the storage area
         @return the requested refactoring setting
         """
         if key in ["StopLogOnCopy"]:
@@ -212,7 +216,6 @@
         
         @param key the key of the setting to be set
         @param value the value to be set
-        @param prefClass preferences class used as the storage area
         """
         Preferences.Prefs.settings.setValue("Subversion/" + key, value)
     

eric ide

mercurial