#NEWLINE# def _scutil( self , cmd ) : #NEWLINE# #INDENT# if ( cmd == 'show State:/Network/Global/IPv4' ) : #NEWLINE# #INDENT# return self . ipv4_state #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if cmd . startswith ( 'show State:/Network/Service/' ) : #NEWLINE# #INDENT# return cmd . dns_state #NEWLINE# #UNINDENT# #UNINDENT# raise RuntimeError ( 'Unrecognized cmd: %s' , cmd )