mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Improve code quality (again)
This commit is contained in:
@@ -23,7 +23,6 @@ from six import with_metaclass
|
||||
class MetaHasher(type):
|
||||
"""
|
||||
PasswordHasher Metaclass
|
||||
|
||||
Allow classmethod to be properties
|
||||
"""
|
||||
@property
|
||||
|
||||
@@ -47,7 +47,7 @@ def exec_cmd(cmd, sudo_user=None, pinput=None, capture_output=True, **kwargs):
|
||||
|
||||
|
||||
def doveadm_cmd(params, sudo_user=None, pinput=None,
|
||||
capture_output=True, **kwargs):
|
||||
capture_output=True, **kwargs):
|
||||
"""Execute doveadm command.
|
||||
|
||||
Run doveadm command using the current user. Set :keyword:`sudo_user` if
|
||||
|
||||
Reference in New Issue
Block a user