mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-22 18:33:49 +01:00
commit
2541223cde
@ -683,6 +683,8 @@ if __name__ == "__main__" and len(sys.argv) >= 2 and sys.argv[1] == 'UnitTest':
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
args = parseArgs()
|
args = parseArgs()
|
||||||
nagios = NagiosHelper()
|
nagios = NagiosHelper()
|
||||||
|
context = None
|
||||||
|
|
||||||
if args.version:
|
if args.version:
|
||||||
print('Version: %s - Date: %s' % (__version__, __version_date__))
|
print('Version: %s - Date: %s' % (__version__, __version_date__))
|
||||||
exit(0)
|
exit(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user