Cmake tests: Nothing to output in case of no error in simplehtml_validity.py

This commit is contained in:
Kornel Benko 2023-01-11 06:45:38 +01:00
parent 861af2b84f
commit 9f3f21f0f9

View File

@ -33,7 +33,6 @@ validator = html5validator.Validator(format='text')
error_count = validator.validate(xhtml_list)
if error_count == 0:
print('> Found no validation error!')
sys.exit(0)
else:
print('> Found a validation error!')