#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# self . plugin_info = { #NEWLINE# #INDENT# 'check_name' : None , #NEWLINE# 'message' : None , #NEWLINE# 'status' : None , #NEWLINE# #UNINDENT# } #NEWLINE# self . _hook = ExitHook ( ) #NEWLINE# self . _hook . hook ( ) #NEWLINE# self . exit_code = ExitCode ( 0 , 1 , 2 , 3 ) #NEWLINE# for field in self . exit_code . _fields : #NEWLINE# #INDENT# self . __make_dynamic ( self ) #NEWLINE# #UNINDENT# atexit . register ( self . __exitfunction ) #NEWLINE# self . parser = argparse . ArgumentParser ( ) #NEWLINE# if hasattr ( self , 'setup' ) : #NEWLINE# #INDENT# self . setup ( ) #NEWLINE# #UNINDENT# ( self . options , self . remain ) = self . parser . parse_known_args ( ) #NEWLINE# self . run ( )