Skip to content

Commit cd00854

Browse files
handles cases when state doesn't have incremental override
1 parent fcaa562 commit cd00854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

digital_land/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,8 +1447,8 @@ def compare_state(
14471447

14481448
compare = State.load(state_path)
14491449
# we don't want to include whether the previous state was an incremental override in comparison
1450-
current.pop("incremental_override")
1451-
compare.pop("incremental_override")
1450+
current.pop("incremental_override", None)
1451+
compare.pop("incremental_override", None)
14521452

14531453
if current == compare:
14541454
# if current override = false and compare override = true we need to update state.json on s3 but we don't need to process everything

0 commit comments

Comments
 (0)