Files
freeipa/ipaserver/install
Florence Blanc-Renaud f4a208311a Fix ipa-restore (python2)
In order to stop tracking LDAP server cert, ipa-restore is using
dse.ldif to find the certificate name. But when ipa-server-install
--uninstall has been called, the file does not exist, leading to a
IOError exception (regression introduced by 87540fe).

The ipa-restore code properly catches the exception in python3 because
IOError is a subclass of OSError, but in python2 this is not the case.
The fix catches IOError and OSError to work properly with both version.

Fixes:
https://pagure.io/freeipa/issue/7231

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2017-11-08 15:40:35 +01:00
..
2017-07-27 16:48:49 +02:00
2017-10-20 12:27:19 +02:00
2017-10-20 12:27:19 +02:00
2017-11-08 15:40:35 +01:00
2017-10-20 12:27:19 +02:00
2017-08-25 09:40:15 +02:00