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)
| 421 | return line |
| 422 | |
| 423 | def onecmd(self, line): |
| 424 | """Interpret the argument as though it had been typed in response |
| 425 | to the prompt. |
| 426 | |
| 427 | Checks whether this line is typed at the normal prompt or in |
| 428 | a breakpoint command list definition. |
| 429 | """ |
| 430 | if not self.commands_defining: |
| 431 | return cmd.Cmd.onecmd(self, line) |
| 432 | else: |
| 433 | return self.handle_command_def(line) |
| 434 | |
| 435 | def handle_command_def(self, line): |
| 436 | """Handles one command line during command list definition.""" |
no test coverage detected