Warnings should not increment the exit status

reviewable/pr18001/r3
Matt Martz 9 years ago committed by John Barker
parent 95c9e11cba
commit cf9b22103d

@ -72,7 +72,7 @@ class Validator(object):
if warnings:
for warning in self.warnings:
print('WARNING: %s' % warning)
ret.append(1)
# ret.append(1) # Don't incrememt exit status for warnings
if self.errors or (warnings and self.warnings):
print()

Loading…
Cancel
Save