mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
ipa-replica-manage: fix undefined variable
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
c43dce3a61
commit
288a9b9dba
@ -169,7 +169,7 @@ def list_replicas(realm, host, replica, dirman_passwd, verbose, nolookup=False):
|
||||
dn = DN(('cn', 'masters'), ('cn', 'ipa'), ('cn', 'etc'), ipautil.realm_to_suffix(realm))
|
||||
try:
|
||||
entries = conn.get_entries(dn, conn.SCOPE_ONELEVEL)
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
print("Failed to read master data from '%s': %s" % (host, str(e)))
|
||||
return
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user