#NEWLINE# def find_arcconfig( ) : #NEWLINE# #INDENT# path = None #NEWLINE# nextpath = os . getcwd ( ) #NEWLINE# while ( path != config_path ) : #NEWLINE# #INDENT# ( path , nextpath ) = ( nextpath , _parent_dir ( nextpath ) ) #NEWLINE# config_path = os . path . join ( path , '.arcconfig' ) #NEWLINE# if os . path . isfile ( config_path ) : #NEWLINE# #INDENT# return config_path #NEWLINE# #UNINDENT# #UNINDENT# return None