summaryrefslogtreecommitdiffstats
path: root/gluster
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-06-17 14:52:53 +0530
committerPrashanth Pai <ppai@redhat.com>2016-06-17 15:09:56 +0530
commit835f87bb0dd3c068896f52bfef98a88b16fa13a5 (patch)
treea341129050c607556ec8c38f3ea909a4348db0fd /gluster
parent072425454c76c9d37b436a91d3d64a953adff92c (diff)
Fix license discrepancies
The repo had mixed references to both Apache BSD license and GPL licenses. This change removes references to Apache license. The license of this project is now same as that of GlusterFS. Change-Id: I39b72f59d14af304729560dd1d59fe307cd1ac1d Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'gluster')
-rw-r--r--gluster/__init__.py20
-rwxr-xr-xgluster/api.py17
-rw-r--r--gluster/exceptions.py19
-rwxr-xr-xgluster/gfapi.py17
-rw-r--r--gluster/utils.py17
5 files changed, 37 insertions, 53 deletions
diff --git a/gluster/__init__.py b/gluster/__init__.py
index 351a4f3..fda7c92 100644
--- a/gluster/__init__.py
+++ b/gluster/__init__.py
@@ -1,17 +1,13 @@
-# Copyright (c) 2012-2014 Red Hat, Inc.
+# Copyright (c) 2016 Red Hat, Inc.
#
-# 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
+# This file is part of libgfapi-python project which is a
+# subproject of GlusterFS ( www.gluster.org)
#
-# 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.
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
+
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
diff --git a/gluster/api.py b/gluster/api.py
index bb0d31f..e2e2966 100755
--- a/gluster/api.py
+++ b/gluster/api.py
@@ -1,13 +1,12 @@
-# Copyright (c) 2012-2015 Red Hat, Inc.
-# This file is part of libgfapi-python project
-# (http://review.gluster.org/#/q/project:libgfapi-python)
-# which is a subproject of GlusterFS ( www.gluster.org)
+# Copyright (c) 2016 Red Hat, Inc.
#
-# This file is licensed to you under your choice of the GNU Lesser
-# General Public License, version 3 or any later version (LGPLv3 or
-# later), or the GNU General Public License, version 2 (GPLv2), in all
-# cases as published by the Free Software Foundation.
-
+# This file is part of libgfapi-python project which is a
+# subproject of GlusterFS ( www.gluster.org)
+#
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
import ctypes
from ctypes.util import find_library
diff --git a/gluster/exceptions.py b/gluster/exceptions.py
index b95e543..05496f0 100644
--- a/gluster/exceptions.py
+++ b/gluster/exceptions.py
@@ -1,17 +1,12 @@
-# Copyright (c) 2012-2015 Red Hat, Inc.
+# Copyright (c) 2016 Red Hat, Inc.
#
-# 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
+# This file is part of libgfapi-python project which is a
+# subproject of GlusterFS ( www.gluster.org)
#
-# 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.
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
class LibgfapiException(Exception):
diff --git a/gluster/gfapi.py b/gluster/gfapi.py
index 3d65155..1765791 100755
--- a/gluster/gfapi.py
+++ b/gluster/gfapi.py
@@ -1,13 +1,12 @@
-# Copyright (c) 2012-2015 Red Hat, Inc.
-# This file is part of libgfapi-python project
-# (http://review.gluster.org/#/q/project:libgfapi-python)
-# which is a subproject of GlusterFS ( www.gluster.org)
+# Copyright (c) 2016 Red Hat, Inc.
#
-# This file is licensed to you under your choice of the GNU Lesser
-# General Public License, version 3 or any later version (LGPLv3 or
-# later), or the GNU General Public License, version 2 (GPLv2), in all
-# cases as published by the Free Software Foundation.
-
+# This file is part of libgfapi-python project which is a
+# subproject of GlusterFS ( www.gluster.org)
+#
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
import ctypes
import os
diff --git a/gluster/utils.py b/gluster/utils.py
index 833302e..bc55184 100644
--- a/gluster/utils.py
+++ b/gluster/utils.py
@@ -1,17 +1,12 @@
# Copyright (c) 2016 Red Hat, Inc.
#
-# 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
+# This file is part of libgfapi-python project which is a
+# subproject of GlusterFS ( www.gluster.org)
#
-# 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.
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
import os
import errno