Checks if the scan is successful
(hdr)
| 532 | |
| 533 | |
| 534 | def _is_scan_successful(hdr): |
| 535 | """ |
| 536 | Checks if the scan is successful |
| 537 | """ |
| 538 | return bool(hdr.stop) and hdr.stop["exit_status"] == "success" |
| 539 | |
| 540 | |
| 541 | def _extract_metadata_from_header(hdr): |
no outgoing calls
no test coverage detected