[AIRFLOW-2403] Fix License Headers Closes #3285 from r39132/fix_license_headers
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/f63a2b1a Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/f63a2b1a Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/f63a2b1a Branch: refs/heads/v1-10-test Commit: f63a2b1a1f1c216e22d6c46ecbd56199a2ff398e Parents: a7e8f48 Author: r39132 <siddharthan...@yahoo.com> Authored: Mon Apr 30 13:12:51 2018 -0700 Committer: r39132 <siddharthan...@yahoo.com> Committed: Mon Apr 30 13:12:51 2018 -0700 ---------------------------------------------------------------------- airflow/contrib/hooks/aws_firehose_hook.py | 24 ++++++++++++--------- tests/contrib/hooks/test_aws_firehose_hook.py | 25 ++++++++++++---------- 2 files changed, 28 insertions(+), 21 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/f63a2b1a/airflow/contrib/hooks/aws_firehose_hook.py ---------------------------------------------------------------------- diff --git a/airflow/contrib/hooks/aws_firehose_hook.py b/airflow/contrib/hooks/aws_firehose_hook.py index cf7b2fc..b273e22 100644 --- a/airflow/contrib/hooks/aws_firehose_hook.py +++ b/airflow/contrib/hooks/aws_firehose_hook.py @@ -1,16 +1,20 @@ -# -*- coding: utf-8 -*- # -# 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 +# 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. +# 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 airflow.contrib.hooks.aws_hook import AwsHook http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/f63a2b1a/tests/contrib/hooks/test_aws_firehose_hook.py ---------------------------------------------------------------------- diff --git a/tests/contrib/hooks/test_aws_firehose_hook.py b/tests/contrib/hooks/test_aws_firehose_hook.py index 0a2c809..f22bcde 100644 --- a/tests/contrib/hooks/test_aws_firehose_hook.py +++ b/tests/contrib/hooks/test_aws_firehose_hook.py @@ -1,17 +1,20 @@ -# -*- coding: utf-8 -*- # -# 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# 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 unittest import uuid