

def append_centered_action(self, paragraphs):
    if (not all((centered_re.match(line) for line in self.lines))):
        return False
    paragraphs.append(Action(_sequence_to_rich((centered_re.match(line).group(1) for line in self.lines)), centered=True))
    return True

dataset/ETHPy150Open vilcans/screenplain/screenplain/parsers/fountain.py InputParagraph.append_centered_action/original