Add SPDX license tag for mcrcon redistributed code.
Austin S. Hemmelgarn committed
Jun 1, 2018 at 11:45 UTC
fd24ac92d2faac5c2a5d669c08f26361c3c24143
2 files changed
+20
-18
LICENSES/MIT
new
+19
@@ -0,0 +1,19 @@
1
+Copyright (c) <year> <copyright holders>
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining a
4
+copy of this software and associated documentation files (the "Software"),
5
+to deal in the Software without restriction, including without limitation
6
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
7
+and/or sell copies of the Software, and to permit persons to whom the
8
+Software is furnished to do so, subject to the following conditions:
9
+
10
+The above copyright notice and this permission notice shall be included
11
+in all copies or substantial portions of the Software.
12
+
13
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
17
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19
+OTHER DEALINGS IN THE SOFTWARE.
python.d/python_modules/third_party/mcrcon.py
+1
-18
@@ -2,24 +2,7 @@
2
#
3
# Copyright (C) 2015 Barnaby Gale
4
#
5
-# Permission is hereby granted, free of charge, to any person obtaining a copy
6
-# of this software and associated documentation files (the "Software"), to
7
-# deal in the Software without restriction, including without limitation the
8
-# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9
-# sell copies of the Software, and to permit persons to whom the Software is
10
-# furnished to do so, subject to the following conditions:
11
-#
12
-# The above copyright notice and this permission notice shall be included in
13
-# all copies of the Software and its documentation and acknowledgment shall be
14
-# given in the documentation and software packages that this Software was
15
-# used.
16
-#
17
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20
-# THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21
-# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5
+# SPDX-License-Identifier: MIT
6
7
import socket
8
import select