Files
freeipa/ipaserver
Florence Blanc-Renaud 71c54ef03c 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>
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
2017-11-13 11:15:17 +01:00
..
2017-11-13 11:15:17 +01:00
2017-09-18 13:44:42 +02:00
2010-12-20 17:19:53 -05:00
2017-09-15 15:31:28 +02:00
2017-06-01 09:24:24 +02:00
2016-10-20 18:43:37 +02:00
2017-05-10 09:08:34 +02:00