Skip to content

Commit

Permalink
Add missing strict parameter to zip
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Nov 21, 2023
1 parent 0d2b715 commit 9ef55aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/datastores/chainedDatastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def put_new(self, inMemoryDataset: Any, ref: DatasetRef) -> Mapping[str, Dataset
npermanent = 0
nephemeral = 0
stored_refs: dict[str, DatasetRef] = {}
for datastore, constraints in zip(self.datastores, self.datastoreConstraints):
for datastore, constraints in zip(self.datastores, self.datastoreConstraints, strict=True):
if (
constraints is not None and not constraints.isAcceptable(ref)
) or not datastore.constraints.isAcceptable(ref):
Expand Down

0 comments on commit 9ef55aa

Please sign in to comment.