original_docstring: Copies installer archive files specified in section to staging dir.
    This method copies reads section from config file and copies all the files
    specified to staging dir.
    
docstring: Copies installer archive files specified in section to staging dir.
  This method copies reads section from config file and copies all the files
  specified to staging dir.
docstring_tokens: Copies installer archive files specified in section to staging dir . This method copies reads section from config file and copies all the files specified to staging dir .
code: def CopySectionFilesToStagingDir(config, section, staging_dir, output_dir):
    """Copies installer archive files specified in section to staging dir.
    This method copies reads section from config file and copies all the files
    specified to staging dir.
    """
    for option in config.options(section):
      if option.endswith('dir'):
        continue
  
      dst = os.path.join(staging_dir, config.get(section, option))
      if not os.path.exists(dst):
        os.makedirs(dst)
      for file in glob.glob(os.path.join(output_dir, option)):
        if IsChromeFrameFile(file):
          try:
            shutil.copy(file, dst)
          except IOError:
            # TODO(robertshield): Temporary hack to work around problems building
            # Chrome Frame binaries on non-Chrome Frame builders. Remove this
            # asap.
            print 'Error attempting to copy ' + file + ' to ' + dst
        else:
          shutil.copy(file, dst)
code_tokens: def CopySectionFilesToStagingDir ( config , section , staging_dir , output_dir ) : for option in config . options ( section ) : if option . endswith ( 'dir' ) : continue dst = os . path . join ( staging_dir , config . get ( section , option ) ) if not os . path . exists ( dst ) : os . makedirs ( dst ) for file in glob . glob ( os . path . join ( output_dir , option ) ) : if IsChromeFrameFile ( file ) : try : shutil . copy ( file , dst ) except IOError : print 'Error attempting to copy ' + file + ' to ' + dst else : shutil . copy ( file , dst )
short_docstring: Copies installer archive files specified in section to staging dir.
short_docstring_tokens: Copies installer archive files specified in section to staging dir .
comment: """Copies installer archive files specified in section to staging dir.
    This method copies reads section from config file and copies all the files
    specified to staging dir.
    """$SEP$# TODO(robertshield): Temporary hack to work around problems building$SEP$# Chrome Frame binaries on non-Chrome Frame builders. Remove this$SEP$# asap.