Plugins/PluginVcsSubversion.py

changeset 3004
c4bf32c791d0
parent 2962
d6c9d1ca2da4
child 3022
57179e4cdadd
child 3057
10516539f238
diff -r cb43c34239b1 -r c4bf32c791d0 Plugins/PluginVcsSubversion.py
--- a/Plugins/PluginVcsSubversion.py	Thu Oct 10 18:40:16 2013 +0200
+++ b/Plugins/PluginVcsSubversion.py	Thu Oct 10 19:03:45 2013 +0200
@@ -32,7 +32,8 @@
 className = "VcsSubversionPlugin"
 packageName = "__core__"
 shortDescription = "Implements the Subversion version control interface."
-longDescription = """This plugin provides the Subversion version control interface."""
+longDescription = \
+    """This plugin provides the Subversion version control interface."""
 pyqtApi = 2
 # End-Of-Header
 
@@ -69,8 +70,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 = {}
@@ -93,7 +94,8 @@
     if Utilities.isWindowsPlatform():
         exe += '.exe'
     if Utilities.isinpath(exe):
-        return QApplication.translate('VcsSubversionPlugin', 'Subversion (svn)')
+        return QApplication.translate(
+            'VcsSubversionPlugin', 'Subversion (svn)')
     else:
         return ""
 
@@ -108,7 +110,8 @@
     @return reference to the configuration page
     """
     global subversionCfgPluginObject
-    from VcsPlugins.vcsSubversion.ConfigurationPage.SubversionPage import SubversionPage
+    from VcsPlugins.vcsSubversion.ConfigurationPage.SubversionPage import \
+        SubversionPage
     if subversionCfgPluginObject is None:
         subversionCfgPluginObject = VcsSubversionPlugin(None)
     page = SubversionPage(subversionCfgPluginObject)
@@ -119,7 +122,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": \
@@ -134,7 +138,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")
     
 
@@ -160,8 +165,8 @@
         from VcsPlugins.vcsSubversion.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)

eric ide

mercurial