From aaa51695da8ae1fb63227e8631ebb727ce0feaff Mon Sep 17 00:00:00 2001 From: Cady_Chen Date: Thu, 17 Nov 2016 10:10:36 +0800 Subject: [PATCH] Fix "wrap functions with 2 blank lines" pep8 check Now gates are requires this pep8 rule as mandatory so until it'll be fixed merge is blocked Change-Id: Ic34859a0397a770db0a5203491f035cb81461bce --- tools/generate_driver_list.py | 1 + tools/install_venv.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/generate_driver_list.py b/tools/generate_driver_list.py index 91848acd7c9..7e400772e7f 100755 --- a/tools/generate_driver_list.py +++ b/tools/generate_driver_list.py @@ -136,5 +136,6 @@ def main(): finally: os.chdir(cur_dir) + if __name__ == '__main__': main() diff --git a/tools/install_venv.py b/tools/install_venv.py index d13393bf313..8cf250ab743 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -69,5 +69,6 @@ def main(argv): install.install_dependencies() print_help() + if __name__ == '__main__': main(sys.argv)