summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2016-01-02 10:42:37 +0100
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2016-01-02 10:42:37 +0100
commitb66672ee18506035d08453dbfc5b429bdc81702d (patch)
treeef3142bcb7d389c70fc5a99a5a6fd10b00ac6807 /gitlab/exceptions.py
parent8fa44554736c4155a1c3b013d29c0625277a2e07 (diff)
downloadgitlab-b66672ee18506035d08453dbfc5b429bdc81702d.tar.gz
add missing copyright header
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r--gitlab/exceptions.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py
index f538031..c08166e 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -1,3 +1,20 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2013-2015 Gauvain Pocentek <gauvain@pocentek.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
class GitlabError(Exception):
def __init__(self, error_message="", response_code=None,
response_body=None):