(output)
| 97 | return None |
| 98 | |
| 99 | def handle_output_diagnostics(output): |
| 100 | if get_pref("print_diagnostics"): |
| 101 | print(output) |
| 102 | |
| 103 | file_parse_error = get_diagnostics_parse_fail(output) |
| 104 | if file_parse_error: |
| 105 | msg = "Ignoring malformed config file: " + file_parse_error.group(1) |
| 106 | if ok_cancel_dialog(msg): |
| 107 | msg = "Please fix the syntax errors in your config file and try again. See the console output for more information. Do you wish to file a bug instead?" |
| 108 | if ok_cancel_dialog(msg): |
| 109 | file_bug() |
| 110 | |
| 111 | |
| 112 | try: |
no test coverage detected