Remove IPAdmin.unbind_s(), keep unbind()

The unbind and unbind_s functions do the same thing (both are synchronous).

In the low-level IPASimpleLDAPObject, unbind_s rather than unbind is kept.

Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
This commit is contained in:
Petr Viktorin
2013-01-30 06:46:48 -05:00
committed by Martin Kosek
parent f7a4cceb97
commit 334a0cdcdc
6 changed files with 7 additions and 16 deletions

View File

@@ -616,7 +616,7 @@ def main():
if conn and conn.isconnected():
conn.disconnect()
if replman and replman.conn:
replman.conn.unbind_s()
replman.conn.unbind()
if options.skip_schema_check:
root_logger.info("Skipping CA DS schema check")