% for uri in sorted(uris): Types: ${' '.join(sorted(data.get('types', {'deb'})))} URIs: ${uri} Suites: ${os_release} Components: ${' '.join(sorted(data.get('components', {'main'})))} Architectures: ${' '.join(sorted(data.get('architectures', {'amd64'})))} Signed-By: /etc/apt/trusted.gpg.d/${name}.list.asc % endfor