Commit 84b518a
authored
chore: simplify pinned image lookup (#2897)
Replace the explicit if/else used to resolve pinned container images with pinned_images.get(config_value, config_value) in the manylinux and musllinux loops inside _compute_build_options. This keeps behavior identical while reducing duplication and simplifying the code in cibuildwheel/options.py.1 parent 785d812 commit 84b518a
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
| 883 | + | |
888 | 884 | | |
889 | 885 | | |
890 | 886 | | |
891 | 887 | | |
892 | 888 | | |
893 | 889 | | |
894 | 890 | | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
| 891 | + | |
900 | 892 | | |
901 | 893 | | |
902 | 894 | | |
| |||
0 commit comments