aboutsummaryrefslogtreecommitdiffstats
path: root/build/gen_ins_pkg_script.py
diff options
context:
space:
mode:
authorKingPoo <haojingbo@huawei.com>2016-11-14 02:16:24 -0500
committerJustin chi <chigang@huawei.com>2016-11-15 03:20:08 +0000
commitb15421ac53b8f57011613e29505cd8c0275b5066 (patch)
tree8ca3717d0f38c8ae7d19062b0f08f9b41b865f29 /build/gen_ins_pkg_script.py
parenta099404ead9151b529de1e1e960cac6e67937ad0 (diff)
Repair Flake8's warnings & errors
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
Diffstat (limited to 'build/gen_ins_pkg_script.py')
-rw-r--r--build/gen_ins_pkg_script.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/gen_ins_pkg_script.py b/build/gen_ins_pkg_script.py
index e89b4285..ae6fa1c1 100644
--- a/build/gen_ins_pkg_script.py
+++ b/build/gen_ins_pkg_script.py
@@ -49,8 +49,8 @@ def get_packages_name_list(file_list, special_packages):
return package_name_list
-def generate_download_script(root="", arch="", tmpl="", docker_tmpl="", default_packages="",
- special_packages="", special_packages_script_dir="", special_packages_dir=""):
+def generate_download_script(root="", arch="", tmpl="", docker_tmpl="", default_packages="", # noqa
+ special_packages="", special_packages_script_dir="", special_packages_dir=""): # noqa
package_name_list = get_packages_name_list(
get_file_list(root, arch), special_packages) if root else []
@@ -85,5 +85,5 @@ def generate_download_script(root="", arch="", tmpl="", docker_tmpl="", default_
if __name__ == '__main__':
# generate_download_script('ansible', 'Debian', 'Debian.tmpl')
- generate_download_script(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4],
- sys.argv[5].split(' '), sys.argv[6].split(' '), sys.argv[7], sys.argv[8])
+ generate_download_script(sys.argv[1], sys.argv[2], sys.argv[3],
+ sys.argv[4], sys.argv[5].split(' '), sys.argv[6].split(' '), sys.argv[7], sys.argv[8]) # noqa