Skip to content

Commit 41d4615

Browse files
committed
Use plus_or_noop_or_replace instead of plus.
1 parent 50dbb0b commit 41d4615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/selfie-lib/selfie_lib/SnapshotFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def writeEntry(
6767

6868
def set_at_test_time(self, key: str, snapshot: Snapshot) -> None:
6969
with self._lock:
70-
self.snapshots = self.snapshots.plus(key, snapshot)
70+
self.snapshots = self.snapshots.plus_or_noop_or_replace(key, snapshot)
7171
self.was_set_at_test_time = True
7272

7373
def remove_all_indices(self, indices: List[int]) -> None:

0 commit comments

Comments
 (0)