code: def _get_bootstrap_content(directory='.'):
      '''
      Get the current bootstrap.py script content
      '''
      try:
          with salt.utils.files.fopen(os.path.join(
                                  os.path.abspath(directory),
                                  'bootstrap.py')) as fic:
              oldcontent = salt.utils.stringutils.to_unicode(
                  fic.read()
              )
      except (OSError, IOError):
          oldcontent = ''
      return oldcontenf _get_bootstrap_content(directory='.'):
      '''
      Get the current bootstrap.py script content
      '''
      try:
          with salt.utils.files.fopen(os.path.join(
                                  os.path.abspath(directory),
                                  'bootstrap.py')) as fic:
              oldcontent = salt.utils.stringutils.to_unicode(
                  fic.read()
              )
      except (OSError, IOError):
          oldcontent = ''
      return oldcontent
docs: Get the current bootstrap.py script content