made bunker/files/bunkeredfile tarfile.TarFile compatible
This commit is contained in:
parent
e7716a52e4
commit
55cd2013f3
|
@ -155,3 +155,5 @@ class BunkeredFile(io.RawIOBase):
|
||||||
def rewind(self):
|
def rewind(self):
|
||||||
self._file.seek(0, 0)
|
self._file.seek(0, 0)
|
||||||
|
|
||||||
|
def __bool__(self):
|
||||||
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user