def create_checksum(self): file = open(self.file_name + '.sum', 'w') checksum = File.get_file_checksum_calc(self.file_name) file.write(checksum) file.close()
def set_attributes(self): file_attributes_calc = File.get_file_atts_calc(self.file_name) File.set_file_atts(self.file_name, file_attributes_calc)