mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix: read_ip_addresses should return ipaddr object
Interactive prompt callback returns list of str instead of CheckedIPAddress instances. Ticket: https://fedorahosted.org/freeipa/ticket/4747 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
dd3e91639b
commit
5b397dced1
@ -243,7 +243,7 @@ def read_ip_addresses(host_name, fstore):
|
||||
except Exception, e:
|
||||
print "Error: Invalid IP Address %s: %s" % (ip, e)
|
||||
continue
|
||||
ips.append(ip)
|
||||
ips.append(ip_parsed)
|
||||
|
||||
return ips
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user