PyDocs

Nav

Data Compression and Archiving

TarFile.errorlevel

tarfile

attribute of TarFile
  • TarFile.errorlevel: int
If errorlevel is 0, errors are ignored when using TarFile.extract() and TarFile.extractall(). Nevertheless, they appear as error messages in the debug output when debug is greater than 0. If 1 (the default), all fatal errors are raised as OSError or FilterError exceptions. If 2, all non-fatal errors are raised as TarError exceptions as well.
0 Examples
No examples for tarfile/TarFile.errorlevel.
See Also
No see-alsos for tarfile/TarFile.errorlevel
0 Notes
No notes for TarFile.errorlevel