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