Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: tools/clang/scripts/apply_fixits.py

Issue 1554823002: Fix apply_fixits.py to always read from stdin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/apply_fixits.py
diff --git a/tools/clang/scripts/apply_fixits.py b/tools/clang/scripts/apply_fixits.py
index e846dadffc1575f2795534094d6470f9ed8f3e00..3059fca37d751061198c9d6edff44871215e47cf 100755
--- a/tools/clang/scripts/apply_fixits.py
+++ b/tools/clang/scripts/apply_fixits.py
@@ -48,7 +48,7 @@ def main():
args = parser.parse_args()
fixits = collections.defaultdict(list)
- for line in fileinput.input():
+ for line in fileinput.input(['-']):
if not line.startswith('fix-it:'):
continue
m = _FIXIT_RE.match(line)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698