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

Unified Diff: components/domain_reliability/bake_in_configs.py

Issue 252613002: Domain Reliability: More security review. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: ;_; Created 6 years, 7 months 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 | « components/domain_reliability/OWNERS ('k') | components/domain_reliability/baked_in_configs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/bake_in_configs.py
diff --git a/components/domain_reliability/bake_in_configs.py b/components/domain_reliability/bake_in_configs.py
index 65f8a0a38a000386dc1f57a7fb618a2c7dc788b9..5cc784c7356fbc15f4dba6813240a0f6abe786ef 100755
--- a/components/domain_reliability/bake_in_configs.py
+++ b/components/domain_reliability/bake_in_configs.py
@@ -78,7 +78,6 @@ def main():
return 1
cpp_code = CC_HEADER
- cpp_file = sys.argv[-1]
for json_file in sys.argv[1:-1]:
with open(json_file, 'r') as f:
json_text = f.read()
@@ -96,7 +95,7 @@ def main():
cpp_code += "\n"
cpp_code += CC_FOOTER
- with open(cpp_file, 'wb') as f:
+ with open(sys.argv[-1], 'wb') as f:
f.write(cpp_code)
return 0
« no previous file with comments | « components/domain_reliability/OWNERS ('k') | components/domain_reliability/baked_in_configs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698