1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Python < 3.6 remainder cleanups (#25607)

This commit is contained in:
Ville Skyttä
2019-07-31 22:21:15 +03:00
committed by Paulus Schoutsen
parent 671cb0d092
commit 3cf8964c06
6 changed files with 11 additions and 20 deletions

View File

@@ -93,13 +93,6 @@ async def async_from_config_dict(config: Dict[str, Any],
stop = time()
_LOGGER.info("Home Assistant initialized in %.2fs", stop-start)
if sys.version_info[:3] < (3, 6, 0):
hass.components.persistent_notification.async_create(
"Python 3.5 support is deprecated and will "
"be removed in the first release after August 1. Please "
"upgrade Python.", "Python version", "python_version"
)
return hass