diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-03-22 18:10:13 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-03-22 18:10:13 +0100 |
commit | ccbea3f59a1be418ea5adf90d25dbfb49f72dfde (patch) | |
tree | 03384814f60fae360f7dfb01cacc09c05be39cc1 /gitlab/exceptions.py | |
parent | 43e8a2a82deff4c95e156fc951f88ff6e95cf7b8 (diff) | |
download | gitlab-ccbea3f59a1be418ea5adf90d25dbfb49f72dfde.tar.gz |
minor docs fixes
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r-- | gitlab/exceptions.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py index ce1f680..8190696 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -110,9 +110,10 @@ def raise_error_from_response(response, error, expected_code=200): If response status code is 401, raises instead GitlabAuthenticationError. - response: requests response object - error: Error-class or dict {return-code => class} of possible error class - to raise. Should be inherited from GitLabError + Args: + response: requests response object + error: Error-class or dict {return-code => class} of possible error + class to raise. Should be inherited from GitLabError """ if expected_code == response.status_code: |