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:
parent
5a078bc961
commit
65b49259f5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user