summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/ci-scripts/build_embeded_go.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test/ci-scripts/build_embeded_go.py')
-rw-r--r--test/scenario_test/ci-scripts/build_embeded_go.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scenario_test/ci-scripts/build_embeded_go.py b/test/scenario_test/ci-scripts/build_embeded_go.py
index 1fc70bca..e0f17e56 100644
--- a/test/scenario_test/ci-scripts/build_embeded_go.py
+++ b/test/scenario_test/ci-scripts/build_embeded_go.py
@@ -2,6 +2,7 @@ import sys
import os
from subprocess import call
+
def cut(filename, out):
with open(filename, 'r') as f:
flag = False
@@ -16,6 +17,7 @@ def cut(filename, out):
elif flag:
codes.append(line)
+
if __name__ == '__main__':
filename = sys.argv[1]
out = '/tmp/test.go'