Fix regression introduced in ipa-certupdate
The fix for 6288 was overwritten by commit 08b7683130.
https://fedorahosted.org/freeipa/ticket/6288
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
1 parent
866e59bdce
commit
cd75eb3b25
1 file changed
+4
-1
@@ -83,7 +83,10 @@ class CertUpdate(admintool.AdminTool):
|
||||
certs = certstore.get_ca_certs(ldap, api.env.basedn,
|
||||
api.env.realm, ca_enabled)
|
||||
|
||||
lwcas = api.Command.ca_find()['result']
|
||||
if ca_enabled:
|
||||
lwcas = api.Command.ca_find()['result']
|
||||
else:
|
||||
lwcas = []
|
||||
|
||||
api.Backend.rpcclient.disconnect()
|
||||
finally:
|
||||
|
||||
Reference in new issue
Block a user