Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py

branch
5_4_x
changeset 3760
2fb8c031a3f0
parent 3645
79b58173f803
--- a/Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py	Sat Aug 09 16:36:22 2014 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py	Thu Aug 21 18:49:42 2014 +0200
@@ -456,7 +456,7 @@
                 # we got a package
                 packageName = \
                     os.path.split(os.path.dirname(self.__filename))[1]
-                if packageName.lower != packageName:
+                if packageName.lower() != packageName:
                     yield self.__error(node, "N808")
     
     def __checkImportAs(self, node, parents):

eric ide

mercurial