summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorJorik Schellekens <joriksch@gmail.com>2019-08-28 15:55:58 +0100
committerGitHub <noreply@github.com>2019-08-28 15:55:58 +0100
commitdeca277d0972c98a643997d7f6a388b313d2d2fb (patch)
tree2fefa49345628cee78e0c705ba58225d7a650d7e /synapse
parentUse the v2 lookup API for 3PID invites (#5897) (diff)
downloadsynapse-deca277d0972c98a643997d7f6a388b313d2d2fb.tar.xz
Let synctl use a config directory. (#5904)
* Let synctl use a config directory.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/config/__init__.py b/synapse/config/__init__.py
index f2a5a41e92..1e76e9559d 100644
--- a/synapse/config/__init__.py
+++ b/synapse/config/__init__.py
@@ -13,8 +13,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from ._base import ConfigError
+from ._base import ConfigError, find_config_files
 
-# export ConfigError if somebody does import *
+# export ConfigError and find_config_files if somebody does
+# import *
 # this is largely a fudge to stop PEP8 moaning about the import
-__all__ = ["ConfigError"]
+__all__ = ["ConfigError", "find_config_files"]