#NEWLINE# def detect_ccache( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# has_ccache = subprocess . call ( [ 'ccache' , '--version' ] , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) #NEWLINE# #UNINDENT# except OSError : #NEWLINE# #INDENT# has_ccache = 1 #NEWLINE# #UNINDENT# if ( has_ccache == 0 ) : #NEWLINE# #INDENT# cmdlist = [ 'ccache' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cmdlist = [ ] #NEWLINE# #UNINDENT# return self