Merge branch 'google3' to roll forward cl/336363104.

This commit is contained in:
hai007
2020-10-09 14:53:41 -07:00
31 changed files with 728 additions and 254 deletions
+2
View File
@@ -19,6 +19,7 @@ import argparse
import os
import re
import shutil
import stat
import sys
copy_header="""Copyright 2020 Google LLC
@@ -201,6 +202,7 @@ def post_process_oss_files(path, args):
modified = True
if modified:
os.chmod(fname, os.stat(fname).st_mode | stat.S_IWRITE)
with open(fname, "w") as f:
for line in lines:
f.write(line)