diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-03 09:24:20 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-03 09:24:20 +0100 |
commit | 46f74e8e4e6cd093a3be4309802f5a72ed305080 (patch) | |
tree | 7d39b93e8df6d3f8b5b0711d7e2579ce4db50ac3 /gitlab/exceptions.py | |
parent | e5246bffd17eb9863516677a086928af40fba9f5 (diff) | |
download | gitlab-46f74e8e4e6cd093a3be4309802f5a72ed305080.tar.gz |
Implement managers to get access to resources
This changes the 'default' API, using managers is the recommended way to
get/list/create objects. Additional operations will be implemented in
followup patchs.
Old methods are deprecated and will disappear in a while.
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r-- | gitlab/exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py index c08166e..c6df71c 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -15,6 +15,7 @@ # 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): |