(context)
return jinja2.Environment().from_string(template).render(**params)
Generates and returns a startup script.
Generates and returns a startup script.
Generates and returns a startup script .
def _StartupScript(context):
  """Generates and returns a startup script."""
  params = {
      'check_script': _CheckScript(context),
      'init_script': _InitScript(context),
  }
  template = context.imports['software_status.sh.tmpl']
  return jinja2.Environment().from_string(template).render(**params)
def _StartupScript ( context ) : params = { 'check_script' : _CheckScript ( context ) , 'init_script' : _InitScript ( context ) , } template = context . imports [ 'software_status.sh.tmpl' ] return jinja2 . Environment ( ) . from_string ( template ) . render ( * * params )