summaryrefslogtreecommitdiff
path: root/glanceclient/common
diff options
context:
space:
mode:
authorCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-10-04 09:38:39 +0700
committerCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-10-04 09:38:39 +0700
commit7a6cd5ebe2e2fc357bc4f58409ca177f36814859 (patch)
treefddfc95939a14c7887dbac351d7253209daf9c6a /glanceclient/common
parentbd092e953c68bc22bb28253264f011397a43afa6 (diff)
downloadpython-glanceclient-7a6cd5ebe2e2fc357bc4f58409ca177f36814859.tar.gz
Add Apache 2.0 license to source file
As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I15cbb71d028e9297cb49b5aab7d0427f7be36c49
Diffstat (limited to 'glanceclient/common')
-rw-r--r--glanceclient/common/exceptions.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/glanceclient/common/exceptions.py b/glanceclient/common/exceptions.py
index c3fcdde..1512557 100644
--- a/glanceclient/common/exceptions.py
+++ b/glanceclient/common/exceptions.py
@@ -1,3 +1,15 @@
+# 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.
+
# This is here for compatibility purposes. Once all known OpenStack clients
# are updated to use glanceclient.exc, this file should be removed
from glanceclient.exc import * # noqa