made bunker/files/bunkeredfile tarfile.TarFile compatible

This commit is contained in:
Daniel Knüttel 2019-04-19 14:02:25 +02:00
parent e7716a52e4
commit 55cd2013f3
1 changed files with 2 additions and 0 deletions

View File

@ -155,3 +155,5 @@ class BunkeredFile(io.RawIOBase):
def rewind(self):
self._file.seek(0, 0)
def __bool__(self):
return True