Terminate execution. Make sure that any running child processes have been wait()ed for before calling this.
(msg)
| 186 | |
| 187 | |
| 188 | def die(msg): |
| 189 | """Terminate execution. Make sure that any running child processes have |
| 190 | been wait()ed for before calling this. |
| 191 | """ |
| 192 | if verbose: |
| 193 | raise Exception(msg) |
| 194 | else: |
| 195 | sys.stderr.write(msg + "\n") |
| 196 | sys.exit(1) |
| 197 | |
| 198 | |
| 199 | def prompt(prompt_text): |
no test coverage detected