Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/BugSwarm/common
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmeiri committed Jun 21, 2018
2 parents 5b5166c + bba190b commit fda93db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bugswarm/common/github_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def get(self, url: str):
elif response.status_code == 451: # Repository access blocked.
log.error('Repository access blocked:', url)
return None, None
elif response.status_code == 422:
return None, None
else:
log.error('Request for url failed:', url)
log.error('Exception:', e)
Expand Down
2 changes: 1 addition & 1 deletion bugswarm/common/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from . import log

_BASE_URL = 'http://52.173.92.238/api/v1'
_BASE_URL = 'http://23.101.122.54/api/v1'
_ARTIFACTS_RESOURCE = 'artifacts'
_MINED_BUILD_PAIRS_RESOURCE = 'minedBuildPairs'
_MINED_PROJECTS_RESOURCE = 'minedProjects'
Expand Down

0 comments on commit fda93db

Please sign in to comment.