Skip to content

Commit

Permalink
Update tools/juju-bundle-applications.py
Browse files Browse the repository at this point in the history
thanks for catching that

Co-authored-by: Nicolas Bock <[email protected]>
  • Loading branch information
rafalop and nicolasbock authored Nov 28, 2023
1 parent 97a3b0b commit 2fdc6eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/juju-bundle-applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
for filename in sys.argv[1:]:
with open(filename, 'r') as f:
data = yaml.load_all(f, Loader=yaml.SafeLoader)
if 'applications' in data:
application_list.update(data['applications'].keys())

for d in data:
if 'applications' in d:
application_list.update(d['applications'].keys())
print('\n'.join(application_list))

0 comments on commit 2fdc6eb

Please sign in to comment.