Extract from filtered tarinfo to disk
(self, tarinfo, path, set_attrs, numeric_owner)
| 2321 | return tarinfo |
| 2322 | |
| 2323 | def _extract_one(self, tarinfo, path, set_attrs, numeric_owner): |
| 2324 | """Extract from filtered tarinfo to disk""" |
| 2325 | self._check("r") |
| 2326 | |
| 2327 | try: |
| 2328 | self._extract_member(tarinfo, os.path.join(path, tarinfo.name), |
| 2329 | set_attrs=set_attrs, |
| 2330 | numeric_owner=numeric_owner) |
| 2331 | except OSError as e: |
| 2332 | self._handle_fatal_error(e) |
| 2333 | except ExtractError as e: |
| 2334 | self._handle_nonfatal_error(e) |
| 2335 | |
| 2336 | def _handle_nonfatal_error(self, e): |
| 2337 | """Handle non-fatal error (ExtractError) according to errorlevel""" |
no test coverage detected