Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Jan 10, 2019
1 parent e17d0cd commit 2ae1c26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readthedocs/oauth/services/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ def setup_webhook(self, project):
log.info('GitHub webhook creation successful for project: %s',
project)
return (True, resp)
elif resp.status_code in [401, 403, 404]:

if resp.status_code in [401, 403, 404]:
log.info(
'GitHub project does not exist or user does not have '
'permissions: project=%s',
Expand Down

0 comments on commit 2ae1c26

Please sign in to comment.