44
45
"""For a given set of `sources`, write the keyrings to disk.
46
49
:param sources: An iterable of the sources whose keyrings need to be
48
51
:return: The sources iterable, with each source whose keyring has
49
52
been written now having a "keyring" value set, pointing to the file
54
56
source_url = source.get('url')
55
57
keyring_file = source.get('keyring')