Fixed a few code style issues.

Sun, 12 Feb 2017 18:10:27 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 12 Feb 2017 18:10:27 +0100
changeset 5517
805b36a7ffb7
parent 5516
a165ff497046
child 5518
2c5a6446980a

Fixed a few code style issues.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Feb 12 18:07:05 2017 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sun Feb 12 18:10:27 2017 +0100
@@ -1738,8 +1738,8 @@
             current is not None and
             int(current.text(self.RevisionColumn).split(":")[0]) > 0 and
             (self.logTree.indexOfTopLevelItem(current) <
-                self.logTree.topLevelItemCount() - 1
-             or self.nextButton.isEnabled()))
+                self.logTree.topLevelItemCount() - 1 or
+             self.nextButton.isEnabled()))
     
     @pyqtSlot()
     def on_logTree_itemSelectionChanged(self):
--- a/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Sun Feb 12 18:07:05 2017 +0100
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Sun Feb 12 18:10:27 2017 +0100
@@ -445,7 +445,7 @@
         
         # set the state of the up and down buttons
         self.upButton.setEnabled(
-            current is not None and 
+            current is not None and
             self.logTree.indexOfTopLevelItem(current) > 0)
         self.downButton.setEnabled(
             current is not None and
--- a/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py	Sun Feb 12 18:07:05 2017 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py	Sun Feb 12 18:10:27 2017 +0100
@@ -554,7 +554,7 @@
         
         # set the state of the up and down buttons
         self.upButton.setEnabled(
-            current is not None and 
+            current is not None and
             self.logTree.indexOfTopLevelItem(current) > 0)
         self.downButton.setEnabled(
             current is not None and

eric ide

mercurial