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 <mbasti@redhat.com>
This commit is contained in:
1 parent
4192cce80e
commit
c311af06f6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user