From a8104784ffad6cac4389bba67c59db3e29fb235b Mon Sep 17 00:00:00 2001
From: Sam Clegg <sbc@chromium.org>
Date: Fri, 25 May 2018 16:37:09 -0700
Subject: Cleanup scripts in scripts/test (#1566)

Remove executable bit and #! from scripts that don't have
entry point.

Add missing licence test.

Move arg parsing into a function.

Remove legacy --only_prepare (with underscrore) argument.
---
 scripts/clean_c_api_trace.py | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

(limited to 'scripts/clean_c_api_trace.py')

diff --git a/scripts/clean_c_api_trace.py b/scripts/clean_c_api_trace.py
index efe8baa43..1f8062f2d 100755
--- a/scripts/clean_c_api_trace.py
+++ b/scripts/clean_c_api_trace.py
@@ -1,4 +1,18 @@
-#! /usr/bin/env python
+#!/usr/bin/env python
+#
+# Copyright 2016 WebAssembly Community Group participants
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 '''
 Cleans up output from the C api, makes a runnable C file
-- 
cgit v1.2.3