Skip to content

Commit

Permalink
Apply lint fix from black upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
duckontheweb committed Jan 31, 2022
1 parent 39d628c commit a389679
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pystac/stac_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,10 @@ def full_copy(
target = cached_target
else:
target_parent = None
if (
link.rel
in [
pystac.RelType.CHILD,
pystac.RelType.ITEM,
]
and isinstance(clone, pystac.Catalog)
):
if link.rel in [
pystac.RelType.CHILD,
pystac.RelType.ITEM,
] and isinstance(clone, pystac.Catalog):
target_parent = clone
copied_target = target.full_copy(root=root, parent=target_parent)
if root is not None:
Expand Down

0 comments on commit a389679

Please sign in to comment.