170 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) |
170 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) |
171 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
171 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
172 |
172 |
173 self.__data = self.__project.getData("CHECKERSPARMS", "Pep8Checker") |
173 self.__data = self.__project.getData("CHECKERSPARMS", "Pep8Checker") |
174 if self.__data is None or \ |
174 if self.__data is None or \ |
175 "ExcludeFiles" not in self.__data or \ |
175 len(self.__data) < 6: |
176 len(self.__data) != 6: |
|
177 # initialize the data structure |
176 # initialize the data structure |
178 self.__data = { |
177 self.__data = { |
179 "ExcludeFiles": "", |
178 "ExcludeFiles": "", |
180 "ExcludeMessages": pep8.DEFAULT_IGNORE, |
179 "ExcludeMessages": pep8.DEFAULT_IGNORE, |
181 "IncludeMessages": "", |
180 "IncludeMessages": "", |