Read through the entire archive file and look for readable members. This should not run if the file is set to stream.
(self)
| 2922 | raise ValueError(tarinfo) |
| 2923 | |
| 2924 | def _load(self): |
| 2925 | """Read through the entire archive file and look for readable |
| 2926 | members. This should not run if the file is set to stream. |
| 2927 | """ |
| 2928 | if not self.stream: |
| 2929 | while self.next() is not None: |
| 2930 | pass |
| 2931 | self._loaded = True |
| 2932 | |
| 2933 | def _check(self, mode=None): |
| 2934 | """Check if TarFile is still open, and if the operation's mode |