Format code

This commit is contained in:
Ivan Kravets
2019-10-31 18:52:13 +02:00
parent a18f8b2a4c
commit a7f8838d9a
5 changed files with 19 additions and 19 deletions

View File

@@ -294,17 +294,17 @@ def VerboseAction(_, act, actstr):
def PioClean(env, clean_dir):
if not isdir(clean_dir):
print ("Build environment is clean")
print("Build environment is clean")
env.Exit(0)
clean_rel_path = relpath(clean_dir)
for root, _, files in walk(clean_dir):
for f in files:
dst = join(root, f)
remove(dst)
print (
print(
"Removed %s" % (dst if clean_rel_path.startswith(".") else relpath(dst))
)
print ("Done cleaning")
print("Done cleaning")
fs.rmtree(clean_dir)
env.Exit(0)