mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
pep8
This commit is contained in:
parent
1786b0e768
commit
60c78666ab
@ -13,6 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
class SpamChecker(object):
|
class SpamChecker(object):
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
self.spam_checker = None
|
self.spam_checker = None
|
||||||
|
@ -17,6 +17,7 @@ import importlib
|
|||||||
|
|
||||||
from synapse.config._base import ConfigError
|
from synapse.config._base import ConfigError
|
||||||
|
|
||||||
|
|
||||||
def load_module(provider):
|
def load_module(provider):
|
||||||
""" Loads a module with its config
|
""" Loads a module with its config
|
||||||
Take a dict with keys 'module' (the module name) and 'config'
|
Take a dict with keys 'module' (the module name) and 'config'
|
||||||
|
Loading…
Reference in New Issue
Block a user