This commit is contained in:
Marc Beninca 2021-10-09 14:55:05 +02:00 committed by Marc Beninca
parent 1c6a28d7c6
commit e10e33ace2

View file

@ -32,8 +32,8 @@ class Remote:
self.archives = d self.archives = d
def __str__(self): def __str__(self):
return f'''\ lines = [f'Location: {self.location}',
Location: {self.location} 'Archives:']
Archives: for architecture, archive in sorted(self.archives.items()):
{self.archives} lines.append(f'{architecture}{archive}')
''' return os.linesep.join(lines)