diff --git a/hassio/addons/git.py b/hassio/addons/git.py index 70c9fda49..233b5e965 100644 --- a/hassio/addons/git.py +++ b/hassio/addons/git.py @@ -1,6 +1,7 @@ """Init file for HassIO addons git.""" import asyncio import logging +import functools as ft from pathlib import Path import shutil @@ -48,8 +49,9 @@ class GitRepo(object): try: _LOGGER.info("Clone addon %s repository", self.url) self.repo = await self.loop.run_in_executor( - None, git.Repo.clone_from, self.url, str(self.path), - recursive=True) + None, ft.partial( + git.Repo.clone_from, self.url, str(self.path), + recursive=True)) except (git.InvalidGitRepositoryError, git.NoSuchPathError, git.GitCommandError) as err: diff --git a/hassio/const.py b/hassio/const.py index a6c5a3dca..656d422f4 100644 --- a/hassio/const.py +++ b/hassio/const.py @@ -1,7 +1,7 @@ """Const file for HassIO.""" from pathlib import Path -HASSIO_VERSION = '0.53' +HASSIO_VERSION = '0.54' URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/' 'hassio/{}/version.json') diff --git a/version.json b/version.json index 8cec6cfd3..cf40cc164 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "hassio": "0.53", + "hassio": "0.54", "homeassistant": "0.51.2", "resinos": "1.0", "resinhup": "0.3",