fix Housekeeper-PerCommit bot

Bug: skia:
Change-Id: I393fa79c6c34b5d0b8d66b87749789644c6ee1e4
Reviewed-on: https://skia-review.googlesource.com/72740
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
This commit is contained in:
Ethan Nicholas 2017-11-16 13:52:16 -05:00 committed by Skia Commit-Bot
parent a53d999007
commit 3bc00fe810

View File

@ -11,10 +11,10 @@ import sys
src = open(sys.argv[1], 'r')
dst = open(sys.argv[2], 'w')
dst.write('STRINGIFY(')
dst.write('R"(')
for line in src.readlines():
if not line.startswith("#"):
dst.write(line)
dst.write(')\n')
dst.write(')"\n')
src.close()
dst.close()