def show_page(self, lines):
        lines_per_pages = 23

        line = 0
        while len(lines) > 0 and line < lines_per_pages:
            self.write_line(lines.pop(0))
            line += 1

        if len(lines) > 0:
            self.write("--More-- or (q)uit")
            self.on_keystroke(self.continue_pages, lines)
dataset/ETHPy150Open internap/fake-switches/fake_switches/dell/command_processor/enabled.py/DellEnabledCommandProcessor.show_page/original