MCPcopy Index your code
hub / github.com/RustPython/RustPython / _handle_nonfatal_error

Method _handle_nonfatal_error

Lib/tarfile.py:2531–2536  ·  view source on GitHub ↗

Handle non-fatal error (ExtractError) according to errorlevel

(self, e)

Source from the content-addressed store, hash-verified

2529 self._handle_nonfatal_error(e)
2530
2531 def _handle_nonfatal_error(self, e):
2532 """Handle non-fatal error (ExtractError) according to errorlevel"""
2533 if self.errorlevel > 1:
2534 raise
2535 else:
2536 self._dbg(1, "tarfile: %s" % e)
2537
2538 def _handle_fatal_error(self, e):
2539 """Handle "fatal" error according to self.errorlevel"""

Callers 3

extractallMethod · 0.95
_get_extract_tarinfoMethod · 0.95
_extract_oneMethod · 0.95

Calls 1

_dbgMethod · 0.95

Tested by

no test coverage detected