diff --git a/advisors/check_licenses.py b/advisors/check_licenses.py index 06b7b942e7346753fd7e509acd6dce4d3bd3b865..c283ab6837a41c29eb1199e1144cdfbd360286be 100755 --- a/advisors/check_licenses.py +++ b/advisors/check_licenses.py @@ -25,6 +25,21 @@ -d Specify the decompression path of the tar package, default: /var/tmp/tmp_tarball """ +#****************************************************************************** +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. +# licensed under the Mulan PSL v2. +# You can use this software according to the terms and conditions of the Mulan PSL v2. +# You may obtain a copy of Mulan PSL v2 at: +# http://license.coscl.org.cn/MulanPSL2 +# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR +# PURPOSE. +# See the Mulan PSL v2 for more details. +# Author: wangchuangGG +# Create: 2020-06-27 +# Description: provide a tool to check licenses in tar package and spec file +# ******************************************************************************/ + import argparse import configparser import os