mirror of https://github.com/zulip/zulip.git
Annotate cron_file_helper.
This commit is contained in:
parent
4f782bc186
commit
0d39ed82d1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue