From fa9c01f32c4c12db64bfeed287ca546223c2afbd Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Thu, 20 Nov 2014 17:45:46 +0100 Subject: [PATCH] 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 --- ipaserver/install/installutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index 1e010edc6bf569a879c4f68efd2b273f57b01770..b05b1550a3b7c33a939b4173e57bf1329581d58a 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -247,7 +247,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 -- 2.1.0