def getAllModules(): "Returns a list of all modules that should be checked." modules = [] for module in pcmodules.getPCModules(): if module.check: modules.append(module) return modules
def getAllModules() : "Returns a list of all modules that should be checked." modules = [] for module in pcmodules.getPCModules(): if module.check : modules.append(module) return modules
def getAllModules(): """ Returns a list of all modules that should be checked. @rtype: list of L{pcmodules.PyCheckerModule} """ modules = [] for module in pcmodules.getPCModules(): if module.check: modules.append(module) return modules