diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-06-16 10:04:32 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-06-16 10:04:32 +0000 |
| commit | 49e45698da71cbea87ede2f2f053fa1e8e9e2817 (patch) | |
| tree | 23808bcea7448649bda22e096da8b402742a639c /kolla/image | |
| parent | 2e5be969e5139a3e6b9f3e558a2616aa3e816ae7 (diff) | |
| parent | 6131fd71b5f58a99ab4a1d85b42143699acd83b5 (diff) | |
| download | kolla-49e45698da71cbea87ede2f2f053fa1e8e9e2817.tar.gz kolla-49e45698da71cbea87ede2f2f053fa1e8e9e2817.zip | |
Merge "kolla-build --list-dependencies use json, not pprint"
Diffstat (limited to 'kolla/image')
| -rwxr-xr-x | kolla/image/build.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index 8cff13742..28e3afe59 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -20,7 +20,6 @@ import errno import json import logging import os -import pprint import re import requests import shutil @@ -1025,7 +1024,7 @@ class KollaWorker(object): ancestry = {base.name: []} list_children(base.children, ancestry) - pprint.pprint(ancestry) + json.dump(ancestry, sys.stdout, indent=2) def find_parents(self): """Associate all images with parents and children.""" |
