mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Fix integration tests after rebase
This commit is contained in:
@@ -28,6 +28,7 @@ class Requester:
|
||||
def __statusCheckedRequest( self, verb, url, parameters, input ):
|
||||
status, headers, output = self.__rawRequest( verb, url, parameters, input )
|
||||
if status < 200 or status >= 300:
|
||||
### @todo Be specific (403 is not the same thing as 404!)
|
||||
raise UnknownGithubObject()
|
||||
return headers, output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user