Don't always dump the distro pretty format

Only dump these settings if verbose mode is enabled
which turns on debug logging.

Change-Id: I672fbcd03bc080942eaf6762326d2cf4c20256b1
This commit is contained in:
Joshua Harlow 2014-12-19 18:57:15 -08:00
parent 647f22d03d
commit f9368548f5

View File

@ -119,7 +119,9 @@ def run(args):
dist.inject_platform_overrides(origins, source=origins_fn)
# Print it out...
print(dist.pformat(item_max_len=128))
LOG.debug("Distro settings are:")
for line in dist.pformat(item_max_len=128).splitlines():
LOG.debug(line)
# Get the object we will be running with...
runner = runner_cls(distro=dist,