#NEWLINE# def run( self , options , **kwargs ) : #NEWLINE# #INDENT# sys . stderr . write ( 'Initializing wsgid app folder in {0}...\n' . format ( options . app_path ) ) #NEWLINE# needed_folders = [ 'pid' , 'pid/master' , 'pid/worker' , 'app' , 'logs' , 'plugins' ] #NEWLINE# self . _create_if_not_exist ( options . app_path ) #NEWLINE# for folder in needed_folders : #NEWLINE# #INDENT# self . _create_if_not_exist ( os . path . join ( options . app_path , folder ) )