Searched refs:sourcefile (Results 1 – 1 of 1) sorted by relevance
445 def Decompress(sourcefile, dest=None): argument455 logger.info("Start to decompress %s!", sourcefile)457 if sourcefile.endswith(".tar.gz"):458 with tarfile.open(sourcefile, "r:gz") as compressor:460 elif sourcefile.endswith(".zip"):461 with zipfile.ZipFile(sourcefile, 'r') as compressor: