Plugins/CheckerPlugins/Pep8/CodeStyleChecker.py

changeset 2979
e2eee1b09664
parent 2972
ae58d4b2562e
child 2980
2cb4e3c50b37
diff -r 9d63132a23e0 -r e2eee1b09664 Plugins/CheckerPlugins/Pep8/CodeStyleChecker.py
--- a/Plugins/CheckerPlugins/Pep8/CodeStyleChecker.py	Tue Oct 01 18:31:05 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/CodeStyleChecker.py	Tue Oct 01 18:34:19 2013 +0200
@@ -12,7 +12,7 @@
 from PyQt4.QtCore import QProcess, QCoreApplication
 
 from . import pep8
-from .Pep8NamingChecker import Pep8NamingChecker
+from .NamingStyleChecker import NamingStyleChecker
 from .DocStyleChecker import DocStyleChecker
 
 import Preferences
@@ -111,8 +111,8 @@
                     argindex += 1
                 index += 6 + arglen
                 
-                if code in Pep8NamingChecker.Codes:
-                    text = Pep8NamingChecker.getMessage(code, *args)
+                if code in NamingStyleChecker.Codes:
+                    text = NamingStyleChecker.getMessage(code, *args)
                 elif code in DocStyleChecker.Codes:
                     text = DocStyleChecker.getMessage(code, *args)
                 else:

eric ide

mercurial