eric6/Plugins/VcsPlugins/vcsSubversion/SvnCommitDialog.py

changeset 7628
f904d0eef264
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7626:7f643d41464e 7628:f904d0eef264
87 Public method to retrieve the changelists data. 87 Public method to retrieve the changelists data.
88 88
89 @return tuple containing the changelists (list of strings) and a flag 89 @return tuple containing the changelists (list of strings) and a flag
90 indicating to keep changelists (boolean) 90 indicating to keep changelists (boolean)
91 """ 91 """
92 slists = [l.text().strip() for l in self.changeLists.selectedItems() 92 slists = [line.text().strip()
93 if l.text().strip() != ""] 93 for line in self.changeLists.selectedItems()
94 if line.text().strip() != ""]
94 95
95 if len(slists) == 0: 96 if len(slists) == 0:
96 return [], False 97 return [], False
97 98
98 return slists, self.keepChangeListsCheckBox.isChecked() 99 return slists, self.keepChangeListsCheckBox.isChecked()

eric ide

mercurial