diff options
author | David Baker <dave@matrix.org> | 2017-09-27 10:26:13 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-09-27 10:26:13 +0100 |
commit | 60c78666abbf82c3adfaa3bb4faf86f867eb18ea (patch) | |
tree | 2ec8825cf1666a950e49907c0f755ce135a33ca3 /synapse | |
parent | Forgot the new file again :( (diff) | |
download | synapse-60c78666abbf82c3adfaa3bb4faf86f867eb18ea.tar.xz |
pep8
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/events/spamcheck.py | 1 | ||||
-rw-r--r-- | synapse/util/module_loader.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/synapse/events/spamcheck.py b/synapse/events/spamcheck.py index 7b22b3413a..a876bcb816 100644 --- a/synapse/events/spamcheck.py +++ b/synapse/events/spamcheck.py @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + class SpamChecker(object): def __init__(self, hs): self.spam_checker = None diff --git a/synapse/util/module_loader.py b/synapse/util/module_loader.py index 4b51d7a77b..4288312b8a 100644 --- a/synapse/util/module_loader.py +++ b/synapse/util/module_loader.py @@ -17,6 +17,7 @@ import importlib from synapse.config._base import ConfigError + def load_module(provider): """ Loads a module with its config Take a dict with keys 'module' (the module name) and 'config' |