Rename add-ons repository (#2272)

This commit is contained in:
Pascal Vizeli 2020-11-19 21:10:37 +01:00 committed by GitHub
parent 1bf38bdc99
commit 2daf46c444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ from pathlib import Path
SUPERVISOR_VERSION = "DEV"
URL_HASSIO_ADDONS = "https://github.com/home-assistant/hassio-addons"
URL_HASSIO_ADDONS = "https://github.com/home-assistant/addons"
URL_HASSIO_APPARMOR = "https://version.home-assistant.io/apparmor.txt"
URL_HASSIO_VERSION = "https://version.home-assistant.io/{channel}.json"

View File

@ -11,7 +11,7 @@ from supervisor.utils.json import read_json_file
from ..const import REPOSITORY_CORE, REPOSITORY_LOCAL
from ..coresys import CoreSys, CoreSysAttributes
from ..exceptions import JsonFileError, StoreError, StoreGitError
from ..exceptions import JsonFileError, StoreGitError
from ..jobs.decorator import Job, JobCondition
from .addon import AddonStore
from .data import StoreData
@ -70,9 +70,9 @@ class StoreManager(CoreSysAttributes):
repository = Repository(self.coresys, url)
try:
await repository.load()
except StoreGitError as err:
except StoreGitError:
_LOGGER.error("Can't load data from repository %s", url)
raise StoreError() from err
return
# don't add built-in repository to config
if url not in BUILTIN_REPOSITORIES: