Fix issue with non-ascii path when printing LDF Tree in verbose mode

This commit is contained in:
Ivan Kravets
2017-12-28 14:27:08 +02:00
parent f13bf35dbd
commit ac4b485521

View File

@ -805,9 +805,12 @@ def BuildProjectLibraries(env):
title = "<%s>" % lb.name
if lb.version:
title += " v%s" % lb.version
sys.stdout.write("%s|-- %s" % (margin, title))
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
title += " (%s)" % lb.path
print "%s|-- %s" % (margin, title)
sys.stdout.write(" (")
sys.stdout.write(lb.path)
sys.stdout.write(")")
sys.stdout.write("\n")
if lb.depbuilders:
print_deps_tree(lb, level + 1)