From e7d734962c4809a11d0cd8012c8c4001871d5f47 Mon Sep 17 00:00:00 2001 From: Mark Charney Date: Sun, 11 Jun 2017 13:30:05 -0400 Subject: [PATCH] update legal header & date for py3 ported files Change-Id: I166833daaa56c33eca01bdf7b9aa6e74a490ba9a (cherry picked from commit 1212ba962dff6dfbfa0bd2469327ff447ce59058) --- mfile.py | 2 +- pysrc/actions_codegen.py | 2 +- pysrc/chipmodel.py | 2 +- pysrc/classify_keys.py | 2 +- pysrc/codegen.py | 2 +- pysrc/constraint_vec_gen.py | 2 +- pysrc/ctables.py | 2 +- pysrc/enum_txt_writer.py | 2 +- pysrc/enumer.py | 2 +- pysrc/flag_gen.py | 2 +- pysrc/gen_chip_list.py | 2 +- pysrc/gen_inst_list.py | 2 +- pysrc/gen_operands.py | 2 +- pysrc/generator.py | 2 +- pysrc/genutil.py | 2 +- pysrc/hash_compare.py | 2 +- pysrc/hashmul.py | 2 +- pysrc/hlist.py | 2 +- pysrc/ild.py | 2 +- pysrc/ild_cdict.py | 2 +- pysrc/ild_codegen.py | 2 +- pysrc/ild_disp.py | 2 +- pysrc/ild_easz.py | 2 +- pysrc/ild_eosz.py | 2 +- pysrc/ild_imm.py | 2 +- pysrc/ild_info.py | 2 +- pysrc/ild_nt.py | 2 +- pysrc/ild_phash.py | 2 +- pysrc/ild_storage.py | 2 +- pysrc/importfinder.py | 2 +- pysrc/metaenum.py | 2 +- pysrc/nt_func_gen.py | 2 +- pysrc/operand_storage.py | 2 +- pysrc/opmap.py | 2 +- pysrc/opnd_types.py | 2 +- pysrc/opnds.py | 2 +- pysrc/read-encfile.py | 2 +- pysrc/read_xed_db.py | 2 +- pysrc/refine_regs.py | 2 +- pysrc/regmap.py | 2 +- pysrc/scatter.py | 2 +- pysrc/xed3_nt.py | 2 +- pysrc/xedhash.py | 2 +- tests/run-cmd.py | 17 +++++++++++++++++ xed_build_common.py | 36 +++++++++++------------------------- 45 files changed, 71 insertions(+), 68 deletions(-) diff --git a/mfile.py b/mfile.py index 98b6dd3..d03a09f 100755 --- a/mfile.py +++ b/mfile.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/actions_codegen.py b/pysrc/actions_codegen.py index 2505849..7084895 100755 --- a/pysrc/actions_codegen.py +++ b/pysrc/actions_codegen.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/chipmodel.py b/pysrc/chipmodel.py index 1ea110e..8bd35e7 100755 --- a/pysrc/chipmodel.py +++ b/pysrc/chipmodel.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/classify_keys.py b/pysrc/classify_keys.py index ddb0373..0546e2e 100755 --- a/pysrc/classify_keys.py +++ b/pysrc/classify_keys.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/codegen.py b/pysrc/codegen.py index 0e8666f..5384917 100644 --- a/pysrc/codegen.py +++ b/pysrc/codegen.py @@ -4,7 +4,7 @@ # Code generation support: emitting files, emitting functions, etc. #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/constraint_vec_gen.py b/pysrc/constraint_vec_gen.py index dc87b13..e6ca940 100755 --- a/pysrc/constraint_vec_gen.py +++ b/pysrc/constraint_vec_gen.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ctables.py b/pysrc/ctables.py index 054d328..6f958d4 100755 --- a/pysrc/ctables.py +++ b/pysrc/ctables.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/enum_txt_writer.py b/pysrc/enum_txt_writer.py index 7e703b3..79e504d 100755 --- a/pysrc/enum_txt_writer.py +++ b/pysrc/enum_txt_writer.py @@ -4,7 +4,7 @@ # Enumeration support #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/enumer.py b/pysrc/enumer.py index d63e099..34d8509 100755 --- a/pysrc/enumer.py +++ b/pysrc/enumer.py @@ -3,7 +3,7 @@ # Mark Charney #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/flag_gen.py b/pysrc/flag_gen.py index c434a86..93716b4 100755 --- a/pysrc/flag_gen.py +++ b/pysrc/flag_gen.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/gen_chip_list.py b/pysrc/gen_chip_list.py index 6c67565..c7521bc 100755 --- a/pysrc/gen_chip_list.py +++ b/pysrc/gen_chip_list.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/gen_inst_list.py b/pysrc/gen_inst_list.py index 4023768..ef9096c 100755 --- a/pysrc/gen_inst_list.py +++ b/pysrc/gen_inst_list.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/gen_operands.py b/pysrc/gen_operands.py index 2af8125..9f05ab1 100755 --- a/pysrc/gen_operands.py +++ b/pysrc/gen_operands.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/generator.py b/pysrc/generator.py index f6d3b22..db518c2 100755 --- a/pysrc/generator.py +++ b/pysrc/generator.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/genutil.py b/pysrc/genutil.py index 540ac11..9b5e208 100755 --- a/pysrc/genutil.py +++ b/pysrc/genutil.py @@ -3,7 +3,7 @@ # Generic utilities #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/hash_compare.py b/pysrc/hash_compare.py index 871d48d..8cd7ac2 100755 --- a/pysrc/hash_compare.py +++ b/pysrc/hash_compare.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/hashmul.py b/pysrc/hashmul.py index bac6cd6..efe0b5f 100755 --- a/pysrc/hashmul.py +++ b/pysrc/hashmul.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/hlist.py b/pysrc/hlist.py index 317a349..4d4bb12 100755 --- a/pysrc/hlist.py +++ b/pysrc/hlist.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild.py b/pysrc/ild.py index 77fd732..4a39a2a 100755 --- a/pysrc/ild.py +++ b/pysrc/ild.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_cdict.py b/pysrc/ild_cdict.py index 0ebc4dd..957adde 100755 --- a/pysrc/ild_cdict.py +++ b/pysrc/ild_cdict.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_codegen.py b/pysrc/ild_codegen.py index feb89e1..148ae35 100755 --- a/pysrc/ild_codegen.py +++ b/pysrc/ild_codegen.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_disp.py b/pysrc/ild_disp.py index 6444943..cf1e0e0 100755 --- a/pysrc/ild_disp.py +++ b/pysrc/ild_disp.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_easz.py b/pysrc/ild_easz.py index f43138e..6714944 100755 --- a/pysrc/ild_easz.py +++ b/pysrc/ild_easz.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_eosz.py b/pysrc/ild_eosz.py index fc9d5ee..0592567 100755 --- a/pysrc/ild_eosz.py +++ b/pysrc/ild_eosz.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_imm.py b/pysrc/ild_imm.py index 6218614..af34e40 100755 --- a/pysrc/ild_imm.py +++ b/pysrc/ild_imm.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_info.py b/pysrc/ild_info.py index 60cc9b0..29294b0 100755 --- a/pysrc/ild_info.py +++ b/pysrc/ild_info.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_nt.py b/pysrc/ild_nt.py index 49ef311..99e28f7 100755 --- a/pysrc/ild_nt.py +++ b/pysrc/ild_nt.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_phash.py b/pysrc/ild_phash.py index 945ca04..7481ddf 100755 --- a/pysrc/ild_phash.py +++ b/pysrc/ild_phash.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/ild_storage.py b/pysrc/ild_storage.py index 07047a7..1b4766c 100755 --- a/pysrc/ild_storage.py +++ b/pysrc/ild_storage.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/importfinder.py b/pysrc/importfinder.py index 64b6dfc..2ac353b 100755 --- a/pysrc/importfinder.py +++ b/pysrc/importfinder.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/metaenum.py b/pysrc/metaenum.py index 4f2d6e8..f55be6e 100755 --- a/pysrc/metaenum.py +++ b/pysrc/metaenum.py @@ -4,7 +4,7 @@ # Enumeration support #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/nt_func_gen.py b/pysrc/nt_func_gen.py index dddb3e5..c8a97c2 100755 --- a/pysrc/nt_func_gen.py +++ b/pysrc/nt_func_gen.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/operand_storage.py b/pysrc/operand_storage.py index 2c5a135..e804a53 100755 --- a/pysrc/operand_storage.py +++ b/pysrc/operand_storage.py @@ -3,7 +3,7 @@ ################################################################################ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/opmap.py b/pysrc/opmap.py index e04e336..c88785d 100755 --- a/pysrc/opmap.py +++ b/pysrc/opmap.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/opnd_types.py b/pysrc/opnd_types.py index ade47f2..beff84f 100755 --- a/pysrc/opnd_types.py +++ b/pysrc/opnd_types.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/opnds.py b/pysrc/opnds.py index 188e051..cc92838 100644 --- a/pysrc/opnds.py +++ b/pysrc/opnds.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/read-encfile.py b/pysrc/read-encfile.py index 625507b..4d44d4d 100755 --- a/pysrc/read-encfile.py +++ b/pysrc/read-encfile.py @@ -3,7 +3,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/read_xed_db.py b/pysrc/read_xed_db.py index 0678cde..293c734 100755 --- a/pysrc/read_xed_db.py +++ b/pysrc/read_xed_db.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/refine_regs.py b/pysrc/refine_regs.py index 5d1ade7..9d750f1 100644 --- a/pysrc/refine_regs.py +++ b/pysrc/refine_regs.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/regmap.py b/pysrc/regmap.py index a77d021..d9303d3 100755 --- a/pysrc/regmap.py +++ b/pysrc/regmap.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/scatter.py b/pysrc/scatter.py index 4fb092e..2eb1b48 100755 --- a/pysrc/scatter.py +++ b/pysrc/scatter.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/xed3_nt.py b/pysrc/xed3_nt.py index 729dae8..b23c676 100755 --- a/pysrc/xed3_nt.py +++ b/pysrc/xed3_nt.py @@ -1,6 +1,6 @@ #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pysrc/xedhash.py b/pysrc/xedhash.py index 22e75e3..efb01cb 100644 --- a/pysrc/xedhash.py +++ b/pysrc/xedhash.py @@ -2,7 +2,7 @@ # -*- python -*- #BEGIN_LEGAL # -#Copyright (c) 2016 Intel Corporation +#Copyright (c) 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/run-cmd.py b/tests/run-cmd.py index 3f409d1..f97a0e0 100755 --- a/tests/run-cmd.py +++ b/tests/run-cmd.py @@ -1,5 +1,22 @@ #!/usr/bin/env python #-*- python -*- +#BEGIN_LEGAL +# +#Copyright (c) 2017 Intel Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#END_LEGAL # The tests XED by running a bunch of cmd files from a bunch of directories. # It tests for correctness by looking at the return code, the stdout and stderr. diff --git a/xed_build_common.py b/xed_build_common.py index b5861fd..f974793 100755 --- a/xed_build_common.py +++ b/xed_build_common.py @@ -1,35 +1,21 @@ #!/usr/bin/env python # -*- python -*- #BEGIN_LEGAL -#Copyright (c) 2004-2015, Intel Corporation. All rights reserved. # -#Redistribution and use in source and binary forms, with or without -#modification, are permitted provided that the following conditions are -#met: +#Copyright (c) 2017 Intel Corporation # -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. +# http://www.apache.org/licenses/LICENSE-2.0 # -# * Neither the name of Intel Corporation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -#A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -#OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -#SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -#LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -#THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -#(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -#OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #END_LEGAL from __future__ import print_function import sys