Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fnattino committed Nov 23, 2020
1 parent 2015bf5 commit 5651517
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pystac/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,10 @@ def generate_subcatalogs(self, template, defaults=None, parent_ids=None, **kwarg
parent_ids = parent_ids or list()
parent_ids.append(self.id)
for child in self.get_children():
result.extend(child.generate_subcatalogs(template, defaults=defaults,
parent_ids=parent_ids.copy()))
result.extend(
child.generate_subcatalogs(template,
defaults=defaults,
parent_ids=parent_ids.copy()))

layout_template = LayoutTemplate(template, defaults=defaults)

Expand Down

0 comments on commit 5651517

Please sign in to comment.