Searched refs:sourcefile (Results 1 – 1 of 1) sorted by relevance
452 def Decompress(sourcefile, dest=None): argument462 logger.info("Start to decompress %s!", sourcefile)464 if sourcefile.endswith(".tar.gz"):465 with tarfile.open(sourcefile, "r:gz") as compressor:467 elif sourcefile.endswith(".zip"):468 with zipfile.ZipFile(sourcefile, 'r') as compressor: