Interpret the argument as though it had been typed in response to the prompt. Checks whether this line is typed at the normal prompt or in a breakpoint command list definition.
(self, line)
| 474 | return line |
| 475 | |
| 476 | def onecmd(self, line): |
| 477 | """Interpret the argument as though it had been typed in response |
| 478 | to the prompt. |
| 479 | |
| 480 | Checks whether this line is typed at the normal prompt or in |
| 481 | a breakpoint command list definition. |
| 482 | """ |
| 483 | if not self.commands_defining: |
| 484 | return cmd.Cmd.onecmd(self, line) |
| 485 | else: |
| 486 | return self.handle_command_def(line) |
| 487 | |
| 488 | def handle_command_def(self, line): |
| 489 | """Handles one command line during command list definition.""" |
no test coverage detected