Add missing code to yamllint messages.

This commit is contained in:
Matt Clay 2018-01-16 16:07:22 -08:00
parent a7e27b74c9
commit 74d635ba6b

View file

@ -85,6 +85,7 @@ class YamllintTest(SanitySingleVersion):
results = json.loads(stdout)['messages'] results = json.loads(stdout)['messages']
results = [SanityMessage( results = [SanityMessage(
code=r['code'],
message=r['message'], message=r['message'],
path=r['path'], path=r['path'],
line=int(r['line']), line=int(r['line']),