mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
#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:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user