eric6/Plugins/VcsPlugins/vcsGit/GitPullDialog.py

changeset 7257
c4d0cac9b5c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitPullDialog.py	Sat Sep 21 20:30:56 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsGit/GitPullDialog.py	Sat Sep 21 22:03:03 2019 +0200
@@ -100,8 +100,10 @@
         """
         self.__updateButtonEnable()
         
-        if self.remotesComboBox.currentText() == self.__custom and \
-                txt != "":
+        if (
+            self.remotesComboBox.currentText() == self.__custom and
+            txt != ""
+        ):
             remoteBranches = self.__vcs.gitGetRemoteBranchesList(
                 self.__repodir, txt)
             self.remoteBranchesList.clear()

eric ide

mercurial