summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Kaye <1917473+michaelkaye@users.noreply.github.com>2019-09-03 16:12:10 +0100
committerGitHub <noreply@github.com>2019-09-03 16:12:10 +0100
commit94f3ed3331fc1492626a96b322c56f607067cf6b (patch)
treef81f3e75ddade5c116fecb4c61c021b367d8c058
parentAddress formatting issues, improve log lines. (diff)
downloadsynapse-github/michaelkaye/docker_optionall_suexec.tar.xz
Small changes to doc strings

Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-rwxr-xr-xdocker/start.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/start.py b/docker/start.py
index 65a2f8870e..260f2d9943 100755
--- a/docker/start.py
+++ b/docker/start.py
@@ -41,7 +41,7 @@ def generate_config_from_template(config_dir, config_path, environ, ownership):
         config_dir (str): where to put generated config files
         config_path (str): where to put the main config file
         environ (dict): environment dictionary
-        ownership (str): "<user>:<group>" string which will be used to set
+        ownership (str|None): "<user>:<group>" string which will be used to set
             ownership of the generated configs. If None, ownership will not change.
     """
     for v in ("SYNAPSE_SERVER_NAME", "SYNAPSE_REPORT_STATS"):
@@ -130,7 +130,7 @@ def run_generate_config(environ, ownership):
 
     Args:
         environ (dict): env var dict
-        ownership (str): "userid:groupid" arg for chmod. If None, ownership will not change.
+        ownership (str|None): "userid:groupid" arg for chmod. If None, ownership will not change.
 
     Never returns.
     """