mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-18 09:10:49 +00:00
backups: Handle SSH keys for old stored repositories
- Assume that their SSH public keys are not unverified. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
parent
661a00198e
commit
2a2cc41f1d
@ -57,7 +57,7 @@ def _get_repository_choices():
|
||||
choices = [('root', ROOT_REPOSITORY_NAME)]
|
||||
storages = network_storage.get_storages()
|
||||
for storage in storages.values():
|
||||
if storage['verified']:
|
||||
if storage.get('verified'):
|
||||
choices += [(storage['uuid'], storage['path'])]
|
||||
|
||||
return choices
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user