Skip to content

Commit 4328279

Browse files
uses .get(i) in comparison
1 parent cd00854 commit 4328279

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

digital_land/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,4 +1455,4 @@ def compare_state(
14551455
# removing the incremental override from the comparison should mean we don't process everything unless spec/code has changed
14561456
return None
14571457

1458-
return [i for i in current.keys() if current[i] != compare[i]]
1458+
return [i for i in current.keys() if current[i] != compare.get(i, "")]

0 commit comments

Comments
 (0)