def getTarHandler():
    tarGzPath = getTarGzPath()

    try:
        tar = openfiles[tarGzPath]
    except __HOLE__:
        tar = tarfile.open(tarGzPath)
        openfiles[tarGzPath] = tar
    return tar
dataset/ETHPy150Open acabin/docphp/docphp.py/getTarHandler