"allow_no_value=True" for ini_file module so /etc/my.cnf can be read without a problem

reviewable/pr18780/r1
Nico Cesar 10 years ago
parent 6597d005ae
commit eeabda4831

@ -94,7 +94,7 @@ import ConfigParser
def do_ini(module, filename, section=None, option=None, value=None, state='present', backup=False):
changed = False
cp = ConfigParser.ConfigParser()
cp = ConfigParser.ConfigParser(allow_no_value=True)
cp.optionxform = identity
try:

Loading…
Cancel
Save