1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

python: fix missing colon around param in docstring

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Rob van der Linde 2023-11-28 15:02:00 +13:00 committed by Andrew Bartlett
parent 72c6f38e9f
commit 35d71bfc6f

View File

@ -292,7 +292,7 @@ def read_and_sub_file(file_name, subst_vars):
"""Read a file and sub in variables found in it
:param file_name: File to be read (typically from setup directory)
param subst_vars: Optional variables to substitute in the file.
:param subst_vars: Optional variables to substitute in the file.
"""
with open(file_name, 'r', encoding="utf-8") as data_file:
data = data_file.read()