From e518ac9bc7020dbe08ec29b1b851b23017e00479 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Thu, 27 Sep 2018 10:15:40 +0200 Subject: [PATCH] Add Apache license headers to the .py files The purpose of this change is to help the licensecheck tool identifying the license of the sourcecode. Change-Id: I3cc325e825fefe3c124329d8ab4b10821c9b1676 --- oslogmerger/oslogmerger.py | 15 +++++++++++++++ oslogmerger/probes/netprobe.py | 17 +++++++++++++++++ oslogmerger/tests/base.py | 15 +++++++++++++++ oslogmerger/tests/unit/test_oslogmerger.py | 15 +++++++++++++++ 4 files changed, 62 insertions(+) diff --git a/oslogmerger/oslogmerger.py b/oslogmerger/oslogmerger.py index 1344e62..e1227f0 100644 --- a/oslogmerger/oslogmerger.py +++ b/oslogmerger/oslogmerger.py @@ -1,3 +1,18 @@ +# Copyright 2018 Red Hat, Inc. +# All Rights Reserved. +# +# 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 __future__ import print_function import argparse from datetime import datetime, timedelta diff --git a/oslogmerger/probes/netprobe.py b/oslogmerger/probes/netprobe.py index f1f1305..87b7c1c 100644 --- a/oslogmerger/probes/netprobe.py +++ b/oslogmerger/probes/netprobe.py @@ -1,4 +1,21 @@ #!/usr/bin/env python + +# Copyright 2018 Red Hat, Inc. +# All Rights Reserved. +# +# 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 __future__ import print_function import argparse diff --git a/oslogmerger/tests/base.py b/oslogmerger/tests/base.py index feee010..7cd2612 100644 --- a/oslogmerger/tests/base.py +++ b/oslogmerger/tests/base.py @@ -1,3 +1,18 @@ +# Copyright 2018 Red Hat, Inc. +# All Rights Reserved. +# +# 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 mock from oslotest import base diff --git a/oslogmerger/tests/unit/test_oslogmerger.py b/oslogmerger/tests/unit/test_oslogmerger.py index b74f486..06955c3 100644 --- a/oslogmerger/tests/unit/test_oslogmerger.py +++ b/oslogmerger/tests/unit/test_oslogmerger.py @@ -1,3 +1,18 @@ +# Copyright 2018 Red Hat, Inc. +# All Rights Reserved. +# +# 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 oslogmerger import oslogmerger as om from oslogmerger.tests import base