From c311af06f60cfdb73be9c0aecb9ddc559db1a055 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Tue, 17 Mar 2015 13:43:46 +0100 Subject: [PATCH] fix improper handling of boolean option in read_replica_info_kra_enabled This patch fixes https://fedorahosted.org/freeipa/ticket/4530. Reviewed-By: Martin Basti --- ipaserver/install/installutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index 1a4c170f4..787a1207a 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -572,7 +572,7 @@ def read_replica_info_kra_enabled(config_dir): config = SafeConfigParser() config.readfp(fd) - enable_kra = bool(config.get("global", "enable_kra")) + enable_kra = config.getboolean("global", "enable_kra") return enable_kra