parameters: (self)
docstring: Processes a declarative-ish script, describing a set of commands
docstring_summary: Processes a declarative-ish script, describing a set of commands
docstring_tokens: Processes a declarative - ish script describing a set of commands
function: def run(self):
  		'''Processes a declarative-ish script, describing a set of commands'''
  		self.log.debug('{0} running...'.format(self))
  
  		self.script = self._preprocess_script(self.script)
  		self.log.debug('{0} script:\n{1}'.format(self, pformat(self.script)))
  		
  		for command in self.script:
  			if command.get('debug'):
  				import pdb
  				pdb.set_trace()
  				continue
  			if "do" in command:
  				for task_str in command['do']:
  					task_method = self.tasks[task_str]
  					task_args = command['do'][task_str]
  					self._call_with_params(task_method, task_args)
  						
  		self.log.debug('{0} has finished'.format(self))
function_tokens: def run ( self ) : self . log . debug ( '{0} running...' . format ( self ) ) self . script = self . _preprocess_script ( self . script ) self . log . debug ( '{0} script:\n{1}' . format ( self , pformat ( self . script ) ) ) for command in self . script : if command . get ( 'debug' ) : import pdb pdb . set_trace ( ) continue if "do" in command : for task_str in command [ 'do' ] : task_method = self . tasks [ task_str ] task_args = command [ 'do' ] [ task_str ] self . _call_with_params ( task_method , task_args ) self . log . debug ( '{0} has finished' . format ( self ) )