tools/cygprofile/orderfile_generator_backend.py
def _SaveFileLocally(self, file_name, file_sha1):
    """Saves the file to a temporary location and prints the sha1sum."""
    if not os.path.exists(self._DIRECTORY_FOR_DEBUG_FILES):
      os.makedirs(self._DIRECTORY_FOR_DEBUG_FILES)
    shutil.copy(file_name, self._DIRECTORY_FOR_DEBUG_FILES)
    print('File: %s, saved in: %s, sha1sum: %s' %
          (file_name, self._DIRECTORY_FOR_DEBUG_FILES, file_sha1))
Saves the file to a temporary location and prints the sha1sum.
Saves the file to a temporary location and prints the sha1sum.
Saves the file to a temporary location and prints the sha1sum .
def _SaveFileLocally(self, file_name, file_sha1):
    if not os.path.exists(self._DIRECTORY_FOR_DEBUG_FILES):
      os.makedirs(self._DIRECTORY_FOR_DEBUG_FILES)
    shutil.copy(file_name, self._DIRECTORY_FOR_DEBUG_FILES)
    print('File: %s, saved in: %s, sha1sum: %s' %
          (file_name, self._DIRECTORY_FOR_DEBUG_FILES, file_sha1))
def _SaveFileLocally ( self , file_name , file_sha1 ) : if not os . path . exists ( self . _DIRECTORY_FOR_DEBUG_FILES ) : os . makedirs ( self . _DIRECTORY_FOR_DEBUG_FILES ) shutil . copy ( file_name , self . _DIRECTORY_FOR_DEBUG_FILES ) print ( 'File: %s, saved in: %s, sha1sum: %s' % ( file_name , self . _DIRECTORY_FOR_DEBUG_FILES , file_sha1 ) )
Saves the file to a temporary location and prints the sha1sum.
Saves the file to a temporary location and prints the sha1sum .
"""Saves the file to a temporary location and prints the sha1sum."""
self
file_name
file_sha1