diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-16 13:44:02 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-16 16:14:20 +0900 |
commit | 0f102be98671abc253e2e73aba15073458c1e444 (patch) | |
tree | 606b1cd73a6b242b0a1f92f7f02d36694e11a1b0 /test/scenario_test/ci-scripts/build_embeded_go.py | |
parent | 03ba90ac0dd6ecea6c1e2b24956bcc73962d1ef7 (diff) |
scenario_test: pep8 and pylint improvements
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test/scenario_test/ci-scripts/build_embeded_go.py')
-rw-r--r-- | test/scenario_test/ci-scripts/build_embeded_go.py | 2 |
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' |