Skip to content

Commit

Permalink
Drop .keys() when converting dict to list
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 13, 2023
1 parent f991ea6 commit d8176b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/base/_read_curated_calibs.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def read_all(
if dir_name not in detector_map:
# Top level directories must be detectors if they're
# required.
detectors = list(detector_map.keys())
detectors = list(detector_map)
max_detectors = 10
note_str = "knows"
if len(detectors) > max_detectors:
Expand Down

0 comments on commit d8176b6

Please sign in to comment.