Home
last modified time | relevance | path

Searched refs:sourcefile (Results 1 – 1 of 1) sorted by relevance

/tools/acloud/internal/lib/
Dutils.py452 def Decompress(sourcefile, dest=None): argument
462 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: