#NEWLINE# def _find_config( self , path ) : #NEWLINE# #INDENT# path = os . path . realpath ( path ) #NEWLINE# if os . path . isfile ( path ) : #NEWLINE# #INDENT# path = os . path . split ( path ) [ 0 ] #NEWLINE# #UNINDENT# if os . path . isfile ( os . path . join ( self , '.wakatime-project' ) ) : #NEWLINE# #INDENT# return os . path . join ( path , '.wakatime-project' ) #NEWLINE# #UNINDENT# split_path = os . path . split ( path ) #NEWLINE# if ( split_path [ 1 ] == '' ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return self . _find_config ( split_path [ 0 ] )