Python < 3.6 remainder cleanups (#25607)

This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2019-07-31 12:21:15 -07:00
1 parent 671cb0d092
commit 3cf8964c06
6 files changed
+11 -20

No files matched your search

-7
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