406 |
406 |
407 if moduleName == "__init__": |
407 if moduleName == "__init__": |
408 # we got a package |
408 # we got a package |
409 packageName = \ |
409 packageName = \ |
410 os.path.split(os.path.dirname(self.__filename))[1] |
410 os.path.split(os.path.dirname(self.__filename))[1] |
411 if packageName.lower != packageName: |
411 if packageName.lower() != packageName: |
412 yield self.__error(node, "N808") |
412 yield self.__error(node, "N808") |
413 |
413 |
414 def __checkImportAs(self, node, parents): |
414 def __checkImportAs(self, node, parents): |
415 """ |
415 """ |
416 Private method to check that imports don't change the |
416 Private method to check that imports don't change the |