Read through the entire archive file and look for readable members.
(self)
| 2686 | raise ValueError(tarinfo) |
| 2687 | |
| 2688 | def _load(self): |
| 2689 | """Read through the entire archive file and look for readable |
| 2690 | members. |
| 2691 | """ |
| 2692 | while True: |
| 2693 | tarinfo = self.next() |
| 2694 | if tarinfo is None: |
| 2695 | break |
| 2696 | self._loaded = True |
| 2697 | |
| 2698 | def _check(self, mode=None): |
| 2699 | """Check if TarFile is still open, and if the operation's mode |
no test coverage detected