From 8947b63e4187c5c5b96d276c65a21b9062079302 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 25 Oct 2018 14:12:09 +0300 Subject: [PATCH] Better formatting when asking to remove a file --- platformio/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platformio/util.py b/platformio/util.py index a7dc6516..3cb4765f 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -839,8 +839,7 @@ def rmtree_(path): os.remove(name) except Exception as e: # pylint: disable=broad-except click.secho( - "%s \n\nCould not remove the file `%s`. " - "Please remove it manually." % (str(e), name), + "%s \nPlease manually remove the file `%s`" % (str(e), name), fg="red", err=True)