Sun, 12 Feb 2017 18:10:27 +0100
Fixed a few code style issues.
--- 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