snakeoil.tar module¶
Version of tarfile modified strictly for snakeoil.data_sources usage.
This is deprecated. Use the actual python tarfile module, what this fixed is now in upstream.
- class snakeoil.tar.ExFileObject(tarfile, tarinfo)[source]¶
Bases:
ExFileObjecttarfile.ExFileObjectcarrying data_source’s exceptions attribute.This is inert and kept only until this module is removed. It was meant to be what
tarfile.TarFile.extractfile()handed back, but that readsTarFile.fileobject– a class attribute this was never wired into.- exceptions = (<class 'OSError'>,)¶