From 94f3ed3331fc1492626a96b322c56f607067cf6b Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Tue, 3 Sep 2019 16:12:10 +0100 Subject: Apply suggestions from code review Small changes to doc strings Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- docker/start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/start.py') 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): ":" string which will be used to set + ownership (str|None): ":" 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. """ -- cgit 1.5.1