Searched refs:sourcefile (Results 1 – 1 of 1) sorted by relevance
427 def Decompress(sourcefile, dest=None): argument437 logger.info("Start to decompress %s!", sourcefile)439 if sourcefile.endswith(".tar.gz"):440 with tarfile.open(sourcefile, "r:gz") as compressor:442 elif sourcefile.endswith(".zip"):443 with zipfile.ZipFile(sourcefile, 'r') as compressor: