Plugins/VcsPlugins/vcsGit/GitSubmodulesDeinitDialog.py

changeset 6026
4773c9469880
parent 6020
baf6da1ae288
child 6048
82ad8ec9548c
equal deleted inserted replaced
6025:9dfb5a421a56 6026:4773c9469880
68 @return tuple containing a flag to indicate all submodules, a list of 68 @return tuple containing a flag to indicate all submodules, a list of
69 selected submodules and a flag indicating an enforced operation 69 selected submodules and a flag indicating an enforced operation
70 @rtype tuple of (bool, list of str, bool) 70 @rtype tuple of (bool, list of str, bool)
71 """ 71 """
72 submodulePaths = [] 72 submodulePaths = []
73 all = self.allCheckBox.isChecked() 73 deinitAll = self.allCheckBox.isChecked()
74 if not all: 74 if not deinitAll:
75 for itm in self.submodulesList.selectedItems(): 75 for itm in self.submodulesList.selectedItems():
76 submodulePaths.append(itm.text()) 76 submodulePaths.append(itm.text())
77 77
78 return all, submodulePaths, self.forceCheckBox.isChecked() 78 return all, submodulePaths, self.forceCheckBox.isChecked()

eric ide

mercurial