Modified the PEP8 dialog slightly to make it compatible with later eric variants. 5_3_x

Sat, 24 Aug 2013 13:53:14 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 24 Aug 2013 13:53:14 +0200
branch
5_3_x
changeset 2865
05ddaf1e8d76
parent 2857
614c63dfb798
child 2871
4cbefb8c029b

Modified the PEP8 dialog slightly to make it compatible with later eric variants.

Plugins/CheckerPlugins/Pep8/Pep8Dialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/CheckerPlugins/Pep8/Pep8Dialog.py	Fri Aug 23 09:49:07 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/Pep8Dialog.py	Sat Aug 24 13:53:14 2013 +0200
@@ -172,8 +172,7 @@
         
         self.__data = self.__project.getData("CHECKERSPARMS", "Pep8Checker")
         if self.__data is None or \
-           "ExcludeFiles" not in self.__data or \
-           len(self.__data) != 6:
+           len(self.__data) < 6:
             # initialize the data structure
             self.__data = {
                 "ExcludeFiles": "",

eric ide

mercurial