зеркало из https://github.com/mozilla/reviewbot.git
Use https://
This commit is contained in:
Родитель
ffe53f5121
Коммит
47e50a8667
|
@ -1,5 +1,5 @@
|
|||
An IRC bot that sends updates about reviews and review requests for a
|
||||
[MozReview](http://mozilla-version-control-tools.readthedocs.io/en/latest/index.html)
|
||||
[MozReview](https://mozilla-version-control-tools.readthedocs.io/en/latest/index.html)
|
||||
installation.
|
||||
|
||||
It is a WIP so no promises right now!
|
||||
|
|
|
@ -40,7 +40,7 @@ def make_cached_by_frame(*args):
|
|||
async def get_review_request_from_id(id: int) -> dict:
|
||||
"""Returns the decoded JSON payload for any id."""
|
||||
loop = asyncio.get_event_loop()
|
||||
fut = loop.run_in_executor(None, requests.get, 'http://reviewboard.mozilla.org/api/review-requests/{}/'.format(id))
|
||||
fut = loop.run_in_executor(None, requests.get, 'https://reviewboard.mozilla.org/api/review-requests/{}/'.format(id))
|
||||
resp = await fut
|
||||
return resp.json()
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче