summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-15 13:15:34 +0100
committerErik Johnston <erik@matrix.org>2019-07-15 14:09:33 +0100
commit823e13ddf49b28eb0dab5d7be3921acc92fd0e44 (patch)
tree0b3797ff105409b57ed524ac8e73886c06dbe2a6 /synapse/config/server.py
parentNewsfile (diff)
downloadsynapse-823e13ddf49b28eb0dab5d7be3921acc92fd0e44.tar.xz
Change add_arguments to be a static method
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 2a74dea2ea..080d0630bd 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -639,7 +639,8 @@ class ServerConfig(Config):
         if args.print_pidfile is not None:
             self.print_pidfile = args.print_pidfile
 
-    def add_arguments(self, parser):
+    @staticmethod
+    def add_arguments(parser):
         server_group = parser.add_argument_group("server")
         server_group.add_argument(
             "-D",