ini_file 'create' parameter default value should be True

Updated create default value to True to match documentation (and common sense).
pull/4420/head
Matt Parkes 2017-01-17 18:24:20 +10:00 committed by Brian Coca
parent 5b7e8a7bd6
commit f0f20d8a1c
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ def match_active_opt(option, line):
# do_ini
def do_ini(module, filename, section=None, option=None, value=None,
state='present', backup=False, no_extra_spaces=False, create=False):
state='present', backup=False, no_extra_spaces=False, create=True):
diff = {'before': '',
'after': '',