1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

python/ms_forest_updates_markdown: avoid implicit global variable

out_dict would have been shared across all calls, aggregating values as it went.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
This commit is contained in:
Douglas Bagnall 2018-10-28 10:37:51 +13:00 committed by Andreas Schneider
parent 5a078bc961
commit 65b49259f5

View File

@ -195,7 +195,7 @@ def innertext(tag):
(tag.tail or '')
def read_ms_markdown(in_file, out_folder=None, out_dict={}):
def read_ms_markdown(in_file, out_folder=None, out_dict=None):
"""
Read Github documentation to produce forest wide udpates
:param in_file: Forest-Wide-Updates.md