mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Fix issue with non-ascii path when printing LDF Tree in verbose mode
This commit is contained in:
@ -805,9 +805,12 @@ def BuildProjectLibraries(env):
|
|||||||
title = "<%s>" % lb.name
|
title = "<%s>" % lb.name
|
||||||
if lb.version:
|
if lb.version:
|
||||||
title += " v%s" % lb.version
|
title += " v%s" % lb.version
|
||||||
|
sys.stdout.write("%s|-- %s" % (margin, title))
|
||||||
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
|
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
|
||||||
title += " (%s)" % lb.path
|
sys.stdout.write(" (")
|
||||||
print "%s|-- %s" % (margin, title)
|
sys.stdout.write(lb.path)
|
||||||
|
sys.stdout.write(")")
|
||||||
|
sys.stdout.write("\n")
|
||||||
if lb.depbuilders:
|
if lb.depbuilders:
|
||||||
print_deps_tree(lb, level + 1)
|
print_deps_tree(lb, level + 1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user