Home | History | Annotate | Download | only in WebKit

Lines Matching refs:errors

19     errors = []
22 errors.append(' %s:%d %s' % (f.LocalPath(), line_num, line))
23 return errors
28 errors = []
30 errors.extend(_CheckForVersionControlConflictsInFile(input_api, f))
33 if errors:
35 'Version control conflict markers found, please resolve.', errors))
41 errors = []
63 errors.append(output_api.PresubmitError(
66 return errors
240 errors = input_api.canned_checks._FindNewViolationsOfRule(
243 errors = ['Found use of Chromium OS_* macro in %s. '
244 'Use WTF platform macros instead.' % violation for violation in errors]
245 if errors:
246 return [output_api.PresubmitPromptWarning('\n'.join(errors))]
254 errors = input_api.canned_checks._FindNewViolationsOfRule(
257 errors = [' * %s' % violation for violation in errors]
258 if errors:
262 'your patch before uploading:\n%s' % '\n'.join(errors))]
271 errors = input_api.canned_checks._FindNewViolationsOfRule(
274 errors = [' * %s' % violation for violation in errors]
275 if errors:
280 'locations:\n%s' % '\n'.join(errors))]
286 errors = []
289 errors.append(' %s:%d %s' % (f.LocalPath(), line_num, line))
290 return errors
304 errors = checkperms.communicate()[0].strip()
305 if errors:
307 'checkperms.py failed.', errors.splitlines())]