diff options
author | Jake Buchholz <tomalok@gmail.com> | 2019-06-03 20:44:52 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-07-05 12:51:09 -0700 |
commit | d206223baead6e2d3a477ba69b4d6a2990fd3e3d (patch) | |
tree | 23ae082d118a65b42f57d0e97cf9ad3f9baa0ff4 | |
parent | dbae7521785de26a25437731398f660b40eac770 (diff) | |
download | alpine-ec2-ami-d206223baead6e2d3a477ba69b4d6a2990fd3e3d.tar.bz2 alpine-ec2-ami-d206223baead6e2d3a477ba69b4d6a2990fd3e3d.tar.xz alpine-ec2-ami-d206223baead6e2d3a477ba69b4d6a2990fd3e3d.zip |
minor output formatting tweak to resolve-profile.py
-rw-r--r-- | scripts/resolve-profile.py.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/resolve-profile.py.in b/scripts/resolve-profile.py.in index 5aca4d7..d348f32 100644 --- a/scripts/resolve-profile.py.in +++ b/scripts/resolve-profile.py.in | |||
@@ -81,7 +81,7 @@ sys.stderr.write("\n") | |||
81 | 81 | ||
82 | # parse/resolve HOCON profile's builds' config | 82 | # parse/resolve HOCON profile's builds' config |
83 | for build, cfg in BUILDS.items(): | 83 | for build, cfg in BUILDS.items(): |
84 | sys.stderr.write(f">>> Resolving configuration for '{build}'\n") | 84 | print(f"\n>>> Resolving configuration for '{build}'") |
85 | build_dir = os.path.join(PROFILE_DIR, build) | 85 | build_dir = os.path.join(PROFILE_DIR, build) |
86 | 86 | ||
87 | # make a fresh profile build directory | 87 | # make a fresh profile build directory |
@@ -147,3 +147,5 @@ for build, cfg in BUILDS.items(): | |||
147 | # write build vars file | 147 | # write build vars file |
148 | with open(os.path.join(build_dir, 'vars.json'), 'w') as out: | 148 | with open(os.path.join(build_dir, 'vars.json'), 'w') as out: |
149 | json.dump(cfg, out, indent=4, separators=(',', ': ')) | 149 | json.dump(cfg, out, indent=4, separators=(',', ': ')) |
150 | |||
151 | print() | ||