Fixed an issue in the code style checker dialog.

Sat, 14 Sep 2013 18:09:53 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 14 Sep 2013 18:09:53 +0200
changeset 2914
6b30a602e404
parent 2913
4e395efc0ef9
child 2915
9da653363d07

Fixed an issue in the code style checker dialog.

Plugins/CheckerPlugins/Pep8/Pep8Dialog.py file | annotate | diff | comparison | revisions
--- 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