debian-forge/sources
David Rheinsberg 707ff8c988 sources: keep try-except block small
We used to have a try-except block to catch URL requests that are not in
`urls`. This block has since then grown way bigger than it should be. We
may now accidentally catch KeyError exceptions from lots of other
places.

This commit extracts the accessor of `urls[checksum]` and saves the
result in a local variable and makes the remainder use that variable.
2020-05-28 11:06:05 +02:00
..
org.osbuild.dnf stages,sources/dnf: allow passing certificate data 2020-01-09 23:55:43 +01:00
org.osbuild.files sources: keep try-except block small 2020-05-28 11:06:05 +02:00
org.osbuild.ostree sources/ostree: enable locked-access explicitly 2020-04-27 16:53:43 +02:00