Don't exit after individual file

This commit is contained in:
Matt Martz 2016-05-05 11:01:04 -05:00 committed by John Barker
parent 074661ef0e
commit 38464b1fdc

View file

@ -599,7 +599,6 @@ def main():
exit = []
# Allow testing against a single file
for module in args.modules:
if os.path.isfile(module):
path = module
@ -608,7 +607,6 @@ def main():
mv = ModuleValidator(path)
mv.validate()
exit.append(mv.report(args.warnings))
sys.exit(sum(exit))
for root, dirs, files in os.walk(module):
basedir = root[len(module)+1:].split('/', 1)[0]