def _read_channels(self, bvh, token_index):
    if (bvh[token_index] != ('IDENT', 'CHANNELS')):
        return (None, None)
    token_index = (token_index + 1)
    channel_count = int(bvh[token_index][1])
    token_index = (token_index + 1)
    channels = ([''] * channel_count)
    for i in range(channel_count):
        channels[i] = bvh[token_index][1]
        token_index = (token_index + 1)
    return (channels, token_index)
def _read_channels(self, bvh, token_index):
    if (bvh[token_index] != ('IDENT', 'CHANNELS')):
        return (None, None)
    token_index = (token_index + 1)
    channel_count = int(bvh[token_index][1])
    token_index = (token_index + 1)
    channels = ([] * channel_count)
    for i in range(channel_count):
        channels[i] = bvh[token_index][1]
        token_index = (token_index + 1)
    return (channels, token_index)