mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Check HTTP status on all requests
This commit is contained in:
@@ -118,6 +118,8 @@ class Download( object ):
|
||||
None,
|
||||
None
|
||||
)
|
||||
if self.__requester.isFailureStatus( status ): # pragma no branch
|
||||
raise GithubException( status, data ) # pragma no cover
|
||||
|
||||
def __initAttributes( self ):
|
||||
self.__accesskeyid = None
|
||||
|
||||
Reference in New Issue
Block a user