Lines Matching refs:version
33 version = file.readline().strip()
34 return version
37 def try_download(file_type, try_version, save_path, version):
38 if try_version == version:
39 print('current version is already the lastest version.')
59 def download(file_type, save_path, version):
65 print('start to find the lastest version of tzdata and tzcode.')
70 version)
95 version_file_path = file_dir + "/../../data/prebuild/posix/version.txt"
96 version = find_current_version(version_file_path)
98 print('current version is ' + version)
104 file_name = download(file_type, download_path, version)
110 try_download(file_type, new_version, download_path, version)
114 with os.fdopen(os.open(os.path.join(download_path, 'version.txt'), flags, modes), 'w') as file: