remote
This commit is contained in:
parent
1c6a28d7c6
commit
e10e33ace2
1 changed files with 5 additions and 5 deletions
10
remote.py
10
remote.py
|
@ -32,8 +32,8 @@ class Remote:
|
|||
self.archives = d
|
||||
|
||||
def __str__(self):
|
||||
return f'''\
|
||||
Location: {self.location}
|
||||
Archives:
|
||||
{self.archives}
|
||||
'''
|
||||
lines = [f'Location: {self.location}',
|
||||
'Archives:']
|
||||
for architecture, archive in sorted(self.archives.items()):
|
||||
lines.append(f'{architecture} → {archive}')
|
||||
return os.linesep.join(lines)
|
||||
|
|
Loading…
Reference in a new issue