Plugins/CheckerPlugins/Pep8/Pep257Checker.py

changeset 2917
fe82710d02cb
parent 2916
a8628dfdfe04
child 2923
01ac1f364b38
diff -r a8628dfdfe04 -r fe82710d02cb Plugins/CheckerPlugins/Pep8/Pep257Checker.py
--- a/Plugins/CheckerPlugins/Pep8/Pep257Checker.py	Mon Sep 16 19:12:49 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/Pep257Checker.py	Mon Sep 16 19:47:06 2013 +0200
@@ -276,13 +276,13 @@
         
         if code and (self.counters[code] == 1 or self.__repeat):
             if code in Pep257Checker.Codes:
-                text = self.__getMessage(code, *args)
+                text = self.getMessage(code, *args)
             # record the issue with one based line number
             self.errors.append((self.__filename, lineNumber + 1, offset, text))
     
-    def __getMessage(self, code, *args):
+    def getMessage(self, code, *args):
         """
-        Private method to get a translated and formatted message for a
+        Public method to get a translated and formatted message for a
         given code.
         
         @param code message code (string)

eric ide

mercurial