1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-08 14:22:21 +01:00

Filter some debug lines from PlatformIO in output (#771)

* Filter some debug lines from PlatformIO in output

* Lint

* Strip trailing newline from esp-idf output

* Only create global std::string if on esp32
This commit is contained in:
Otto Winter
2019-10-19 14:04:14 +02:00
committed by GitHub
parent 4310c14497
commit 80214640b1
7 changed files with 107 additions and 19 deletions

View File

@@ -802,7 +802,7 @@ def strip_default_ids(config):
return config
def read_config(verbose):
def read_config():
_LOGGER.info("Reading configuration %s...", CORE.config_path)
try:
res = load_config()
@@ -810,7 +810,7 @@ def read_config(verbose):
_LOGGER.error(u"Error while reading config: %s", err)
return None
if res.errors:
if not verbose:
if not CORE.verbose:
res = strip_default_ids(res)
safe_print(color('bold_red', u"Failed config"))