def _split_line(line, num):
    ' Split a line\n    '
    line = line.split()
    if (num == 3):
        (tsk, key_lst) = (line[:2], line[2:])
    elif (num == 2):
        (tsk, key_lst) = (line[:1], line[1:])
    key_dct = ioformat.ptt.keyword_dct_from_block('\n'.join(key_lst))
    return (tsk + [key_dct])
Split a line
def _split_line(line, num):
    ' \n    '
    line = line.split()
    if (num == 3):
        (tsk, key_lst) = (line[:2], line[2:])
    elif (num == 2):
        (tsk, key_lst) = (line[:1], line[1:])
    key_dct = ioformat.ptt.keyword_dct_from_block('\n'.join(key_lst))
    return (tsk + [key_dct])