Skip to content

Commit

Permalink
Remove some additional pre-0.8 logic
Browse files Browse the repository at this point in the history
  • Loading branch information
duckontheweb committed Jun 5, 2021
1 parent 51a9c3d commit 3750adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pystac/serialization/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def _migrate_collection(
def _migrate_item(
d: Dict[str, Any], version: STACVersionID, info: STACJSONDescription
) -> None:
if version < "0.8":
d["stac_extensions"] = list(info.extensions)
# No migrations necessary for supported STAC versions (>=0.8)
pass


def _migrate_itemcollection(
Expand Down

0 comments on commit 3750adb

Please sign in to comment.