#193: Don't use a try-except for a usual execution flow in GithubObject.update

(and factorize assignment of headers in _storeAndUseAttributes,
as done for rawData)
This commit is contained in:
Vincent Jacques
2013-08-23 11:10:35 +02:00
parent bc3b819ac5
commit bae0a37d18
3 changed files with 18 additions and 26 deletions
-6
View File
@@ -77,9 +77,3 @@ class RateLimitExceededException(GithubException):
"""
Exception raised when the rate limit is exceeded (when Github API replies with a 403 rate limit exceeded HTML status)
"""
class NotModifiedException(GithubException):
"""
Exception raised when conditional request is made to a resoure that has not changed
"""