From 07bb7e5a3b07f17426a04db2db989dde401a7723 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 4 Aug 2014 11:49:32 -0400 Subject: [PATCH] Revert ""allow_no_value=True" for ini_file module so /etc/my.cnf can be read without a problem" This reverts commit cbdc9f1153e665fe0e62a11ed7c244adb83ecbd9. Code needs to make allowances for particular python versions and try/except around this block. --- library/files/ini_file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/files/ini_file b/library/files/ini_file index 2f6e36a6c7..29abe51065 100644 --- a/library/files/ini_file +++ b/library/files/ini_file @@ -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(allow_no_value=True) + cp = ConfigParser.ConfigParser() cp.optionxform = identity try: