Searched refs:file_prefix (Results 1 – 3 of 3) sorted by relevance
54 def FindLatestRemoteTar(ftp, file_prefix): argument62 if filename.startswith(file_prefix) and filename.endswith('.tar.gz'):77 for file_prefix in file_prefixes:78 latest_iana_tar_filename = FindLatestRemoteTar(ftp, file_prefix)79 local_iana_tar_file = tzdatautil.GetIanaTarFile(local_dir, file_prefix)88 print 'Found new %s* file for %s: %s' % (file_prefix, local_dir, latest_iana_tar_filename)
23 def GetIanaTarFile(dir_name, file_prefix): argument26 if filename.startswith(file_prefix) and filename.endswith('.tar.gz'):34 print('Multiple %s files found unexpectedly %s' % (file_prefix, matching_files))
358 file_prefix = "debug_ver_" + data[DEBUG_VERSION] + "-"359 debug_file_name = os.path.join(folder, file_prefix + "-".join(file_name_list) + ".txt")363 file_prefix = "debug_ver_" + data[DEBUG_VERSION] + "-"364 debug_file_name = file_prefix + "-".join(file_name_list) + ".txt"