Searched refs:tarfile (Results 1 - 7 of 7) sorted by relevance

/pkg/src/modules/
H A Dpkgtarfile.py29 import tarfile namespace
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 w
[all...]
H A Dp5p.py30 import tarfile as tf
379 # Opening the tarfile loaded the first member, which
489 # Always add base publisher directory to start; tarfile
588 ti.tarfile = None
654 # in the archive. This is necessary as the tarfile class does
976 # Prepare the tarfile object for extraction by telling
991 # Index must be invalid or tarfile has gone off
1050 # Prepare the tarfile object for extraction by telling
1301 # tarfile caches member information for every item
1311 ti.tarfile
[all...]
/pkg/src/tests/api/
H A Dt_pkgtarfile.py37 import tarfile namespace
57 self.tarfile = os.path.join(self.tpath, "test.tar")
59 tarfp = tarfile.open(self.tarfile, 'w')
65 p = pkgtarfile.PkgTarFile(self.tarfile, 'r')
H A Dt_p5p.py48 import tarfile as tf
209 # Verify archive exists and use the tarfile module to read the
762 # a new archive using the tarfile class, and verify
/pkg/src/modules/bundle/
H A DTarBundle.py29 import tarfile namespace
40 self.tf = tarfile.open(filename)
56 def action(self, tarfile, tarinfo):
60 return file.FileAction(tarfile.extractfile(tarinfo),
80 return tarfile.is_tarfile(filename)
/pkg/src/modules/server/
H A Ddepot.py56 import tarfile namespace
64 # Without the below statements, tarfile will trigger calls to getpwuid and
67 # undefined causes tarfile to skip these calls in tarfile.gettarinfo(). This
69 tarfile.pwd = None
70 tarfile.grp = None
681 # tarfile most likely failed trying to flush
682 # its internal buffer. To prevent tarfile from
/pkg/src/
H A Dsetup.py36 import tarfile namespace

Completed in 29 milliseconds