mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 14:40:16 -05: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:
1 parent
b1a30bff04
commit
7de424f425
1 file changed
+1
-1
@@ -244,7 +244,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
|
||||
|
||||
|
||||
Reference in new issue
Block a user