diff options
author | Martin Basti <mbasti@redhat.com> | 2014-11-20 17:45:46 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2014-11-21 08:54:17 +0000 |
commit | 7de424f42541e73ed24a95f1dd90ff4a61e111fa (patch) | |
tree | ea2c2f14410fa1c3a6f32ec48dc0ebea9ada6d87 | |
parent | b1a30bff04fe9763b8b270590ec37084fd19b4e0 (diff) | |
download | freeipa-7de424f42541e73ed24a95f1dd90ff4a61e111fa.tar.gz freeipa-7de424f42541e73ed24a95f1dd90ff4a61e111fa.tar.xz freeipa-7de424f42541e73ed24a95f1dd90ff4a61e111fa.zip |
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>
-rw-r--r-- | ipaserver/install/installutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index d3f09eccb..5dab043ee 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -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 |