chrome/tools/build/win/resedit.py
def Commit(self):
    """Commit any successful resource edits this editor has performed.

    This has the effect of writing the output file.
    """
    if self._update_handle:
      update_handle = self._update_handle
      self._update_handle = None
      win32api.EndUpdateResource(update_handle, False)
      _LOGGER.info('Writing edited file to "%s".', self._output_file)
      shutil.copyfile(self._temp_file, self._output_file)
    else:
      _LOGGER.info('No edits made. Copying input to "%s".', self._output_file)
      shutil.copyfile(self._input_file, self._output_file)
Commit any successful resource edits this editor has performed.

    This has the effect of writing the output file.
    
Commit any successful resource edits this editor has performed.
This has the effect of writing the output file.
Commit any successful resource edits this editor has performed . This has the effect of writing the output file .
def Commit(self):
    if self._update_handle:
      update_handle = self._update_handle
      self._update_handle = None
      win32api.EndUpdateResource(update_handle, False)
      _LOGGER.info('Writing edited file to "%s".', self._output_file)
      shutil.copyfile(self._temp_file, self._output_file)
    else:
      _LOGGER.info('No edits made. Copying input to "%s".', self._output_file)
      shutil.copyfile(self._input_file, self._output_file)
def Commit ( self ) : if self . _update_handle : update_handle = self . _update_handle self . _update_handle = None win32api . EndUpdateResource ( update_handle , False ) _LOGGER . info ( 'Writing edited file to "%s".' , self . _output_file ) shutil . copyfile ( self . _temp_file , self . _output_file ) else : _LOGGER . info ( 'No edits made. Copying input to "%s".' , self . _output_file ) shutil . copyfile ( self . _input_file , self . _output_file )
Commit any successful resource edits this editor has performed.
Commit any successful resource edits this editor has performed .
"""Commit any successful resource edits this editor has performed.

    This has the effect of writing the output file.
    """
self