Better representation of dependent packages

This commit is contained in:
Ivan Kravets
2019-12-20 01:19:23 +02:00
parent 1bd6e898ad
commit 135ef8701c

View File

@ -213,7 +213,9 @@ def PrintConfiguration(env): # pylint: disable=too-many-statements
if extra:
info += " (%s)" % ", ".join(extra)
data.append(info)
return ["PACKAGES:", ", ".join(data)]
if not data:
return None
return ["PACKAGES:"] + ["\n - %s" % d for d in sorted(data)]
for data in (
_get_configuration_data(),