From 86c51dc267bc09769d16a4c8cd4fb23eef027a1a Mon Sep 17 00:00:00 2001 From: stevedodson Date: Mon, 13 Jan 2020 11:54:43 +0000 Subject: [PATCH] Fix licensing headers (#112) * Minor fixes for readthedocs compatibility. * Adding doc templates * Setting first version to 7.5.1 --- eland/actions.py | 14 ++++++++++++++ eland/arithmetics.py | 13 +------------ eland/field_mappings.py | 13 +------------ eland/tasks.py | 14 ++++++++++++++ 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/eland/actions.py b/eland/actions.py index 07f96f8..cb201ba 100644 --- a/eland/actions.py +++ b/eland/actions.py @@ -1,3 +1,17 @@ +# Copyright 2019 Elasticsearch BV +# +# 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. + from abc import ABC, abstractmethod # -------------------------------------------------------------------------------------------------------------------- # diff --git a/eland/arithmetics.py b/eland/arithmetics.py index 9831a94..9c5b388 100644 --- a/eland/arithmetics.py +++ b/eland/arithmetics.py @@ -11,18 +11,7 @@ # 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. -# -# 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. + from abc import ABC, abstractmethod from io import StringIO diff --git a/eland/field_mappings.py b/eland/field_mappings.py index 86a789f..28ccdad 100644 --- a/eland/field_mappings.py +++ b/eland/field_mappings.py @@ -11,18 +11,7 @@ # 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. -# -# 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. + import warnings from collections import OrderedDict diff --git a/eland/tasks.py b/eland/tasks.py index c618256..845e780 100644 --- a/eland/tasks.py +++ b/eland/tasks.py @@ -1,3 +1,17 @@ +# Copyright 2019 Elasticsearch BV +# +# 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. + from abc import ABC, abstractmethod from eland import SortOrder