*** bin/emerge.old Sat Oct 9 01:19:35 2004 --- bin/emerge Sat Oct 9 01:23:02 2004 *************** *** 2080,2086 **** del ips[0] if ips==[]: try: ! ips=socket.gethostbyname_ex(hostname)[2] except Exception, e: print "Notice:",str(e) dosyncuri=syncuri --- 2080,2091 ---- del ips[0] if ips==[]: try: ! ipsockets = socket.getaddrinfo(hostname,None,0,socket.SOCK_STREAM) ! for socket in ipsockets: ! if (socket[0]==10): ! ips.append('[' + socket[4][0] + ']') ! else: ! ips.append(socket[4][0]) except Exception, e: print "Notice:",str(e) dosyncuri=syncuri