def read_rangelist(self, file):
        l = []
        f = open(file, 'r')
        while True:
            line = f.readline()
            if not line:
                break
            line = line.strip()
            if not line or line[0] == '#':
                continue
            line = line.split(':')[-1]
            try:
                ip1,ip2 = line.split('-')
            except:
                ip1 = line
                ip2 = line
            try:
                ip1 = to_long_ipv4(ip1)
                ip2 = to_long_ipv4(ip2)
                assert ip1 in ip2
            except:
                print '*** WARNING *** could not parse IP range: '+line
            l.append((ip1,ip2))
        f.close()
        self._import_ipv4(l)
dataset/ETHPy150Open Cclleemm/FriendlyTorrent/src/tornado/BitTornado/iprangeparse.py/IP_List.read_rangelist/operator `<=` -> `in`