#NEWLINE# def _find_config_root( self ) : #NEWLINE# #INDENT# 'Find the Nginx Configuration Root file.' #NEWLINE# location = [ 'nginx.conf' ] #NEWLINE# for name in location : #NEWLINE# #INDENT# if os . path . isfile ( os . path . join ( self . root , name ) ) : #NEWLINE# #INDENT# return os . path . join ( self . root , name ) #NEWLINE# #UNINDENT# #UNINDENT# raise errors . NoInstallationError ( 'Could not find configuration root' )