From 84d2a495da80a3d4b029d62a69be8323fd69008e Mon Sep 17 00:00:00 2001 From: "ttuttle@chromium.org" Date: Fri, 9 May 2014 22:18:50 +0000 Subject: Domain Reliability: More security review. Change some trivial stuff so sleevi can do more security review. Also, add rdsmith as an OWNER. BUG=356791 Review URL: https://codereview.chromium.org/252613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269434 0039d316-1c4b-4281-b951-d872f2087c98 --- components/domain_reliability/bake_in_configs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '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 65f8a0a..5cc784c 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 -- cgit v1.1