#NEWLINE# def IsWarFileWithoutYaml( dir_path ) : #NEWLINE# #INDENT# if os . path . isfile ( os . path . join ( dir_path , 'app.yaml' ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# web_inf = os . path . join ( dir_path , 'WEB-INF' ) #NEWLINE# return ( os . path . isdir ( web_inf ) and set ( [ 'appengine-web.xml' , 'web.xml' ] ) . issubset ( os . listdir ( web_inf ) ) )