Read through the entire archive file and look for readable members. This should not run if the file is set to stream.
(self)
| 2947 | raise ValueError(tarinfo) |
| 2948 | |
| 2949 | def _load(self): |
| 2950 | """Read through the entire archive file and look for readable |
| 2951 | members. This should not run if the file is set to stream. |
| 2952 | """ |
| 2953 | if not self.stream: |
| 2954 | while self.next() is not None: |
| 2955 | pass |
| 2956 | self._loaded = True |
| 2957 | |
| 2958 | def _check(self, mode=None): |
| 2959 | """Check if TarFile is still open, and if the operation's mode |