mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-30 10:47:08 -06:00
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:
parent
4192cce80e
commit
c311af06f6
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user