def expect_list(self):
        try:
            line = next(self)
        except __HOLE__:
            raise ParsingError('expected list but got end of input')
        splited = line.split(self.list_separator)
        if len(splited) == 1:
            raise ParsingError('expected list but got %r' % line)
        return splited
dataset/ETHPy150Open tonyseek/openvpn-status/openvpn_status/parser.py/LogParser.expect_list