def run(self):
        env = self.state.document.settings.env
        self.app = env.app

        # Make sure we have some content, which should be yaml that
        # defines some parameters.
        if not self.content:
            error = self.state_machine.reporter.error(
                'No parameters defined',
                nodes.literal_block(self.block_text, self.block_text),
                line=self.lineno)
            return [error]

        if not 1 >= len(self.arguments):
            self.state_machine.reporter.error(
                'No reference file defined',
                nodes.literal_block(self.block_text, self.block_text),
                line=self.lineno)
            return [error]

        # NOTE(sdague): it's important that we pop the arg otherwise
        # we end up putting the filename as the table caption.
        rel_fpath, fpath = env.relfn2path(self.arguments.pop())
        self.yaml_from_file(fpath)

        self.max_cols = len(self.headers)
        # TODO(sdague): it would be good to dynamically set column
        # widths (or basically make the colwidth thing go away
        # entirely)
        self.options['widths'] = (20, 10, 10, 60)
        self.col_widths = self.get_column_widths(self.max_cols)
        # Actually convert the yaml
        title, messages = self.make_title()
        # self.app.info("Title %s, messages %s" % (title, messages))
        table_node = self.build_table()
        self.add_name(table_node)
        if title:
            table_node.insert(0, title)
        return [table_node] + messages
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/api-ref/ext/rest_parameters.py/RestParametersDirective.run/swapped operands of `>=`