Lines Matching refs:data_filename
72 def FtpUpgrade(ftp, data_filename):
77 FtpRetrieve(ftp, data_filename)
80 signature_filename = '%s.asc' % data_filename
83 ExtractAndCompile(data_filename)
93 def HttpUpgrade(http, data_filename):
97 path = "/time-zones/repository/releases/%s" % data_filename
100 HttpRetrieve(http, path, data_filename)
103 signature_filename = '%s.asc' % data_filename
106 ExtractAndCompile(data_filename)
109 def ExtractAndCompile(data_filename):
110 new_version = re.search('(tzdata.+)\\.tar\\.gz', data_filename).group(1)
112 signature_filename = '%s.asc' % data_filename
117 signature_filename, data_filename])
121 tar = tarfile.open(data_filename, 'r')