Lines Matching refs:tarfile
29 import tarfile
30 # Without the below statements, tarfile will trigger calls to getpwuid
33 # to undefined causes tarfile to skip these calls in
34 # tarfile.gettarinfo(). This information is unnecesary as it will not
36 tarfile.pwd = None
37 tarfile.grp = None
39 class PkgTarFile(tarfile.TarFile):
49 tarfile.TarFile.__init__(self, *args, **kwargs)
64 if isinstance(member, tarfile.TarInfo):
80 # The tarfile we receive contains only files, and none
81 # of the containing directories. The tarfile code will
101 self._dbg(1, "tarfile {0}".format(
105 "tarfile: {0} {1!r}".format(
107 except tarfile.ExtractError as e:
111 self._dbg(1, "tarfile: {0}".format(e))