Skip to content

Commit 36303f6

Browse files
committed
Remove some additional pre-0.8 logic
1 parent fd7d1c8 commit 36303f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pystac/serialization/migrate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def _migrate_collection(
2929
def _migrate_item(
3030
d: Dict[str, Any], version: STACVersionID, info: STACJSONDescription
3131
) -> None:
32-
if version < "0.8":
33-
d["stac_extensions"] = list(info.extensions)
32+
# No migrations necessary for supported STAC versions (>=0.8)
33+
pass
3434

3535

3636
def _migrate_itemcollection(

0 commit comments

Comments
 (0)