Revert ""allow_no_value=True" for ini_file module so /etc/my.cnf can be read without a problem"
This reverts commit cbdc9f1153
.
Code needs to make allowances for particular python versions and try/except
around this block.
This commit is contained in:
parent
c05a5eba58
commit
04568cd767
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ import ConfigParser
|
||||||
def do_ini(module, filename, section=None, option=None, value=None, state='present', backup=False):
|
def do_ini(module, filename, section=None, option=None, value=None, state='present', backup=False):
|
||||||
|
|
||||||
changed = False
|
changed = False
|
||||||
cp = ConfigParser.ConfigParser(allow_no_value=True)
|
cp = ConfigParser.ConfigParser()
|
||||||
cp.optionxform = identity
|
cp.optionxform = identity
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue