From b87595c644421e9ddd72ad15634382b89c902dcc Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Fri, 22 Jun 2018 21:37:35 +0200 Subject: Update licence headers to comply with guidelines Updating the licence headers to comply with the community guidelines [1] and anteater checks. [1] https://wiki.opnfv.org/display/DEV/Contribution+Guidelines#ContributionGuidelines-License Change-Id: Idec787e32daf76c0b1bd6108977b78828125da5e Signed-off-by: Georg Kunz --- dovetail/cli/commands/cli_report.py | 8 ++++++++ dovetail/constants.py | 3 ++- dovetail/container.py | 4 +++- dovetail/parser.py | 3 ++- dovetail/report.py | 5 ++++- dovetail/test_runner.py | 2 +- dovetail/testcase.py | 3 ++- dovetail/tests/unit/test_parser.py | 5 ++++- dovetail/utils/dovetail_config.py | 2 ++ dovetail/utils/dovetail_logger.py | 3 ++- dovetail/utils/dovetail_utils.py | 5 ++--- dovetail/utils/openstack_utils.py | 10 ++++++++++ 12 files changed, 42 insertions(+), 11 deletions(-) diff --git a/dovetail/cli/commands/cli_report.py b/dovetail/cli/commands/cli_report.py index e69de29b..6dbd8d79 100644 --- a/dovetail/cli/commands/cli_report.py +++ b/dovetail/cli/commands/cli_report.py @@ -0,0 +1,8 @@ +############################################################################## +# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## diff --git a/dovetail/constants.py b/dovetail/constants.py index 00203f53..edb8b00a 100644 --- a/dovetail/constants.py +++ b/dovetail/constants.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -# feng.xiaowei@zte.com.cn +# Copyright (c) 2018 feng.xiaowei@zte.com.cn and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/container.py b/dovetail/container.py index 1465cb5c..89c68ccb 100644 --- a/dovetail/container.py +++ b/dovetail/container.py @@ -1,6 +1,8 @@ #!/usr/bin/env python + +# +# Copyright (c) 2017 grakiss.wanglei@huawei.com and others. # -# grakiss.wanglei@huawei.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/parser.py b/dovetail/parser.py index 1b539c85..55ba6b80 100644 --- a/dovetail/parser.py +++ b/dovetail/parser.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -# grakiss.wanglei@huawei.com +# Copyright (c) 2018 grakiss.wanglei@huawei.com and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/report.py b/dovetail/report.py index 9808c7a5..c74595cc 100644 --- a/dovetail/report.py +++ b/dovetail/report.py @@ -1,11 +1,14 @@ #!/usr/bin/env python + +# +# Copyright (c) 2017 grakiss.wanglei@huawei.com and others. # -# grakiss.wanglei@huawei.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 # + from __future__ import division import json diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py index 7aa5854c..68364fda 100644 --- a/dovetail/test_runner.py +++ b/dovetail/test_runner.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# grakiss.wanglei@huawei.com +# Copyright (c) 2018 grakiss.wanglei@huawei.com and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/testcase.py b/dovetail/testcase.py index 272cf43c..23220aeb 100644 --- a/dovetail/testcase.py +++ b/dovetail/testcase.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -# grakiss.wanglei@huawei.com +# Copyright (c) 2018 grakiss.wanglei@huawei.com and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/tests/unit/test_parser.py b/dovetail/tests/unit/test_parser.py index 5cc3fe9f..53484400 100644 --- a/dovetail/tests/unit/test_parser.py +++ b/dovetail/tests/unit/test_parser.py @@ -1,10 +1,13 @@ #!/usr/bin/env python # -# lingui.zeng@huawei.com +############################################################################## +# Copyright (c) 2016 lingui.zeng@huawei.com and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## # """ Test 'parser' module diff --git a/dovetail/utils/dovetail_config.py b/dovetail/utils/dovetail_config.py index 67ad9612..e448888f 100644 --- a/dovetail/utils/dovetail_config.py +++ b/dovetail/utils/dovetail_config.py @@ -1,5 +1,7 @@ #!/usr/bin/env python # +# Copyright (c) 2018 grakiss.wanglei@huawei.com and others. +# # grakiss.wanglei@huawei.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 diff --git a/dovetail/utils/dovetail_logger.py b/dovetail/utils/dovetail_logger.py index 5ad127ba..e22ef4d6 100644 --- a/dovetail/utils/dovetail_logger.py +++ b/dovetail/utils/dovetail_logger.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -# jose.lausuch@ericsson.com +# Copyright (c) 2018 jose.lausuch@ericsson.com and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/utils/dovetail_utils.py b/dovetail/utils/dovetail_utils.py index e758a84b..aceb36d5 100644 --- a/dovetail/utils/dovetail_utils.py +++ b/dovetail/utils/dovetail_utils.py @@ -1,8 +1,7 @@ #!/usr/bin/env python # -# jose.lausuch@ericsson.com -# valentin.boucher@orange.com -# grakiss.wanglei@huawei.com +# Copyright (c) 2018 grakiss.wanglei@huawei.com and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at diff --git a/dovetail/utils/openstack_utils.py b/dovetail/utils/openstack_utils.py index c4dfabf9..2c57b7c8 100644 --- a/dovetail/utils/openstack_utils.py +++ b/dovetail/utils/openstack_utils.py @@ -1,3 +1,13 @@ +#!/usr/bin/env python +# +# Copyright (c) 2018 xudan16@huawei.com and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# + import json import os_client_config import shade -- cgit 1.2.3-korg