'Generates the list of ips to reverse'

def get_ip_list(self, ips):

    try:
        list = IPy.IP(ips)
    except:
        print 'Error    in    IP    format,    check    the    input    and    try    again.    (Eg.    192.168.1.0/24)'
        sys.exit()
    name = []
    for x in list:
        name.append(str(x))
    return name
