diff --git a/scripts/nagios/cron_file_helper.py b/scripts/nagios/cron_file_helper.py index 3436bf8dbd..7b9d5268cb 100644 --- a/scripts/nagios/cron_file_helper.py +++ b/scripts/nagios/cron_file_helper.py @@ -1,7 +1,11 @@ #!/usr/bin/env python import time +# Avoid requiring the typing module to be installed +if False: from typing import Tuple + def nagios_from_file(results_file): + # type: (str) -> Tuple[int, str] """Returns a nagios-appropriate string and return code obtained by parsing the desired file on disk. The file on disk should be of format