email_server: yapf formatting

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Fioddor Superconcentrado <fioddor@gmail.com>
This commit is contained in:
Sunil Mohan Adapa 2021-10-12 10:28:02 -07:00 committed by Fioddor Superconcentrado
parent 2bc07485ab
commit 9c578a36fd
No known key found for this signature in database
GPG Key ID: 6E98A18FEBF77724

View File

@ -3,54 +3,62 @@ from django.utils.translation import gettext_lazy as _
from plinth.clients import store_url from plinth.clients import store_url
clients = [{ clients = [
'name': _('Roundcube'), {
'platforms': [{ 'name': _('Roundcube'),
'type': 'web', 'platforms': [{
'url': '/plinth/apps/roundcube' 'type': 'web',
}] 'url': '/plinth/apps/roundcube'
}, { }]
'name': _('Thunderbird'), },
'platforms': [{ {
'type': 'download', 'name':
'os': 'gnu-linux', _('Thunderbird'),
'url': 'https://www.thunderbird.net/en-US/' 'platforms': [{
}, { 'type': 'download',
'type': 'download', 'os': 'gnu-linux',
'os': 'macos', 'url': 'https://www.thunderbird.net/en-US/'
'url': 'https://www.thunderbird.net/en-US/' }, {
}, { 'type': 'download',
'type': 'download', 'os': 'macos',
'os': 'windows', 'url': 'https://www.thunderbird.net/en-US/'
'url': 'https://www.thunderbird.net/en-US/' }, {
}] 'type': 'download',
}, { 'os': 'windows',
'name': _('K-9 Mail'), 'url': 'https://www.thunderbird.net/en-US/'
'platforms': [{ }]
'type': 'store', },
'os': 'android', {
'store_name': 'f-droid', 'name':
'url': store_url('f-droid', 'com.fsck.k9') _('K-9 Mail'),
}, { 'platforms': [{
'type': 'store', 'type': 'store',
'os': 'android', 'os': 'android',
'store_name': 'google-play', 'store_name': 'f-droid',
'url': store_url('google-play', 'com.fsck.k9') 'url': store_url('f-droid', 'com.fsck.k9')
}] }, {
}, { 'type': 'store',
'name': _('FairEmail'), 'os': 'android',
'platforms': [{ 'store_name': 'google-play',
'type': 'store', 'url': store_url('google-play', 'com.fsck.k9')
'os': 'android', }]
'store_name': 'f-droid', },
'url': store_url('f-droid', 'eu.faircode.email') {
}, { 'name':
'type': 'store', _('FairEmail'),
'os': 'android', 'platforms': [{
'store_name': 'google-play', 'type': 'store',
'url': store_url('google-play', 'eu.faircode.email') 'os': 'android',
}] 'store_name': 'f-droid',
}] 'url': store_url('f-droid', 'eu.faircode.email')
}, {
'type': 'store',
'os': 'android',
'store_name': 'google-play',
'url': store_url('google-play', 'eu.faircode.email')
}]
},
]
backup = { backup = {
'data': { 'data': {