summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-15 14:25:05 +0100
committerErik Johnston <erik@matrix.org>2019-07-15 14:25:05 +0100
commit03cc8c4b5d187129904dd76a525f111424c31de0 (patch)
treee8e6a60e6388a599d755ee541ed92fd2e3218523 /synapse
parents/exfiltrate_user_data/export_user_data/ (diff)
downloadsynapse-03cc8c4b5d187129904dd76a525f111424c31de0.tar.xz
Fix invoking add_argument from homeserver.py
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py
index 8c3acff03e..ba1025f86e 100644
--- a/synapse/config/_base.py
+++ b/synapse/config/_base.py
@@ -468,7 +468,7 @@ class Config(object):
             formatter_class=argparse.RawDescriptionHelpFormatter,
         )
 
-        obj.invoke_all("add_arguments", parser)
+        obj.invoke_all_static("add_arguments", parser)
         args = parser.parse_args(remaining_args)
 
         config_dict = read_config_files(config_files)