Corrected some code style issues and regenerated the source docu files.

Thu, 01 Dec 2016 19:27:09 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 01 Dec 2016 19:27:09 +0100
changeset 5353
60fcaa1c3c3c
parent 5347
d7c29ef11d51
child 5354
31fb20bff15f
child 5355
0a9c01383c8b

Corrected some code style issues and regenerated the source docu files.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgTagDialog.html file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Project.Project.html file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgUtilities.py file | annotate | diff | comparison | revisions
Project/Project.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgTagDialog.html	Sun Nov 27 13:06:07 2016 +0100
+++ b/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgTagDialog.html	Thu Dec 01 19:27:09 2016 +0100
@@ -101,7 +101,13 @@
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-tuple of two strings and int (tag, revision, tag operation)
+tuple containing the tag, revision, tag operation and a flag
+            indicating to enforce the operation
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of str, str, int,bool
 </dd>
 </dl><a NAME="HgTagDialog.on_tagCombo_currentIndexChanged" ID="HgTagDialog.on_tagCombo_currentIndexChanged"></a>
 <h4>HgTagDialog.on_tagCombo_currentIndexChanged</h4>
--- a/Documentation/Source/eric6.Project.Project.html	Sun Nov 27 13:06:07 2016 +0100
+++ b/Documentation/Source/eric6.Project.Project.html	Thu Dec 01 19:27:09 2016 +0100
@@ -1780,6 +1780,11 @@
 <dd>
 list of str
 </dd>
+</dl><dl>
+<dt>Raises <b>ValueError</b>:</dt>
+<dd>
+raised when an unsupported file tpe is given
+</dd>
 </dl><a NAME="Project.getProjectLanguage" ID="Project.getProjectLanguage"></a>
 <h4>Project.getProjectLanguage</h4>
 <b>getProjectLanguage</b>(<i></i>)
--- a/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py	Sun Nov 27 13:06:07 2016 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py	Thu Dec 01 19:27:09 2016 +0100
@@ -401,7 +401,7 @@
             menu.addSeparator()
             menu.addAction(
                 UI.PixmapCache.getIcon("deleteBookmark.png"),
-                self.tr("Delete"),  self.__deleteBookmark)
+                self.tr("Delete"), self.__deleteBookmark)
             menu.addAction(
                 UI.PixmapCache.getIcon("renameBookmark.png"),
                 self.tr("Rename"), self.__renameBookmark)
@@ -465,7 +465,7 @@
                 self,
                 self.tr("Rename Bookmark"),
                 self.tr("<p>Enter the new name for bookmark <b>{0}</b>:</p>")
-                    .format(bookmark),
+                .format(bookmark),
                 QLineEdit.Normal)
             if ok and bool(newName):
                 self.vcs.hgBookmarkRename(self.__repoDir, (bookmark, newName))
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Nov 27 13:06:07 2016 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Thu Dec 01 19:27:09 2016 +0100
@@ -1735,7 +1735,7 @@
         if len(self.logTree.selectedItems()) == 1:
             itm = self.logTree.selectedItems()[0]
             rev = itm.text(self.RevisionColumn).strip().split(":", 1)[0]
-            bookmarks = [bm.strip() for bm in 
+            bookmarks = [bm.strip() for bm in
                          itm.text(self.BookmarksColumn).strip().split(",")
                          if bm.strip()]
             if bookmarks:
--- a/Plugins/VcsPlugins/vcsMercurial/HgUtilities.py	Sun Nov 27 13:06:07 2016 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgUtilities.py	Thu Dec 01 19:27:09 2016 +0100
@@ -71,7 +71,6 @@
     version = ()
     errorMsg = ""
     
-    
     args = ["version"]
     args.extend(plugin.getGlobalOptions())
     process = QProcess()
--- a/Project/Project.py	Sun Nov 27 13:06:07 2016 +0100
+++ b/Project/Project.py	Thu Dec 01 19:27:09 2016 +0100
@@ -3094,6 +3094,7 @@
         @type boolean
         @return list of file names
         @rtype list of str
+        @exception ValueError raised when an unsupported file tpe is given
         """
         if fileType not in ["SOURCES", "FORMS", "RESOURCES", "INTERFACES",
                             "OTHERS", "TRANSLATIONS"]:

eric ide

mercurial