mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
matrixsynapse: Minor PEP8 fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
3 files changed
+9
-9
No files matched your search
@@ -22,10 +22,8 @@ Configuration helper for Matrix-Synapse server.
|
||||
"""
|
||||
import argparse
|
||||
|
||||
import collections
|
||||
|
||||
from ruamel.yaml import round_trip_dump, round_trip_load
|
||||
from ruamel.yaml.scalarstring import DoubleQuotedScalarString as __
|
||||
from ruamel.yaml.scalarstring import DoubleQuotedScalarString
|
||||
from plinth import action_utils
|
||||
from plinth.modules.matrixsynapse import CONFIG_FILE_PATH
|
||||
|
||||
@@ -63,7 +61,8 @@ def subcommand_post_install(_):
|
||||
listener['bind_address'] = '0.0.0.0'
|
||||
|
||||
# Setup ldap parameters
|
||||
config.insert(0, 'password_providers', [{}])
|
||||
__ = DoubleQuotedScalarString
|
||||
config['password_providers'] = [{}]
|
||||
config['password_providers'][0]['module'] = __(
|
||||
'ldap_auth_provider.LdapAuthProvider')
|
||||
ldap_config = {
|
||||
|
||||
Reference in new issue
Block a user