mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] pep8
This commit is contained in:
parent
0e2cae4f1b
commit
6f313d943b
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ def user_info(auth, username):
|
||||||
is_limited = not re.match('0[bkMGT]?', userquota)
|
is_limited = not re.match('0[bkMGT]?', userquota)
|
||||||
storage_use = '?'
|
storage_use = '?'
|
||||||
|
|
||||||
if (service_status("dovecot")["status"] != "running"):
|
if service_status("dovecot")["status"] != "running":
|
||||||
logger.warning(m18n.n('mailbox_used_space_dovecot_down'))
|
logger.warning(m18n.n('mailbox_used_space_dovecot_down'))
|
||||||
else:
|
else:
|
||||||
cmd = 'doveadm -f flow quota get -u %s' % user['uid'][0]
|
cmd = 'doveadm -f flow quota get -u %s' % user['uid'][0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue