Chromium Code Reviews| Index: PRESUBMIT.py |
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
| index 15eaf642d901384bf100de782fce465603ef4bae..bd79bd05ade22c25438f5a9dc1ea35ca057544af 100644 |
| --- a/PRESUBMIT.py |
| +++ b/PRESUBMIT.py |
| @@ -851,7 +851,9 @@ def _CheckSpamLogging(input_api, output_api): |
| log_info.append(f.LocalPath()) |
| if re.search(r"\bD?LOG_IF\s*\(\s*INFO\s*,", contents): |
|
M-A Ruel
2013/12/02 21:06:09
elif
jln (very slow on Chromium)
2013/12/02 21:38:06
Done.
|
| log_info.append(f.LocalPath()) |
| - if re.search(r"\bf?printf\((stdout|stderr)", contents): |
| + if re.search(r"\bprintf\(", contents): |
|
M-A Ruel
2013/12/02 21:06:09
insert a line to make it clear they are not doing
jln (very slow on Chromium)
2013/12/02 21:38:06
Done.
|
| + printf.append(f.LocalPath()) |
| + if re.search(r"\bfprintf\((stdout|stderr)", contents): |
|
M-A Ruel
2013/12/02 21:06:09
elif
jln (very slow on Chromium)
2013/12/02 21:38:06
Done.
|
| printf.append(f.LocalPath()) |
| if log_info: |