Plugins/CheckerPlugins/Pep8/Pep8Dialog.py

changeset 2914
6b30a602e404
parent 2905
a1ae4b297bc0
child 2915
9da653363d07
--- a/Plugins/CheckerPlugins/Pep8/Pep8Dialog.py	Sat Sep 14 17:11:41 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/Pep8Dialog.py	Sat Sep 14 18:09:53 2013 +0200
@@ -204,7 +204,8 @@
         @param fixer reference to the PEP 8 fixer (Pep8Fixer)
         """
         self.__statistics["_FilesCount"] += 1
-        if statistics:
+        stats = {v: k for v, k in statistics.items() if v[0].isupper()}
+        if stats:
             self.__statistics["_FilesIssues"] += 1
             for key in statistics:
                 if key in self.__statistics:

eric ide

mercurial