Browse Source

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
Miguel Angel Ajo 6 months ago
parent
commit
e518ac9bc7

+ 15
- 0
oslogmerger/oslogmerger.py View File

@@ -1,3 +1,18 @@
1
+# Copyright 2018 Red Hat, Inc.
2
+# All Rights Reserved.
3
+#
4
+#    Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+#    not use this file except in compliance with the License. You may obtain
6
+#    a copy of the License at
7
+#
8
+#         http://www.apache.org/licenses/LICENSE-2.0
9
+#
10
+#    Unless required by applicable law or agreed to in writing, software
11
+#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+#    License for the specific language governing permissions and limitations
14
+#    under the License.
15
+
1 16
 from __future__ import print_function
2 17
 import argparse
3 18
 from datetime import datetime, timedelta

+ 17
- 0
oslogmerger/probes/netprobe.py View File

@@ -1,4 +1,21 @@
1 1
 #!/usr/bin/env python
2
+
3
+# Copyright 2018 Red Hat, Inc.
4
+# All Rights Reserved.
5
+#
6
+#    Licensed under the Apache License, Version 2.0 (the "License"); you may
7
+#    not use this file except in compliance with the License. You may obtain
8
+#    a copy of the License at
9
+#
10
+#         http://www.apache.org/licenses/LICENSE-2.0
11
+#
12
+#    Unless required by applicable law or agreed to in writing, software
13
+#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+#    License for the specific language governing permissions and limitations
16
+#    under the License.
17
+
18
+
2 19
 from __future__ import print_function
3 20
 
4 21
 import argparse

+ 15
- 0
oslogmerger/tests/base.py View File

@@ -1,3 +1,18 @@
1
+# Copyright 2018 Red Hat, Inc.
2
+# All Rights Reserved.
3
+#
4
+#    Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+#    not use this file except in compliance with the License. You may obtain
6
+#    a copy of the License at
7
+#
8
+#         http://www.apache.org/licenses/LICENSE-2.0
9
+#
10
+#    Unless required by applicable law or agreed to in writing, software
11
+#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+#    License for the specific language governing permissions and limitations
14
+#    under the License.
15
+
1 16
 import mock
2 17
 from oslotest import base
3 18
 

+ 15
- 0
oslogmerger/tests/unit/test_oslogmerger.py View File

@@ -1,3 +1,18 @@
1
+# Copyright 2018 Red Hat, Inc.
2
+# All Rights Reserved.
3
+#
4
+#    Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+#    not use this file except in compliance with the License. You may obtain
6
+#    a copy of the License at
7
+#
8
+#         http://www.apache.org/licenses/LICENSE-2.0
9
+#
10
+#    Unless required by applicable law or agreed to in writing, software
11
+#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+#    License for the specific language governing permissions and limitations
14
+#    under the License.
15
+
1 16
 from oslogmerger import oslogmerger as om
2 17
 from oslogmerger.tests import base
3 18
 

Loading…
Cancel
Save