Skip to content

Commit 2cdc9af

Browse files
committed
Reformat fs.tarfs with black
1 parent d95484a commit 2cdc9af

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

fs/tarfs.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ def __init__(
157157

158158
@six.python_2_unicode_compatible
159159
class WriteTarFS(WrapFS):
160-
"""A writable tar file.
161-
"""
160+
"""A writable tar file."""
162161

163162
def __init__(
164163
self,
@@ -234,8 +233,7 @@ def write_tar(
234233

235234
@six.python_2_unicode_compatible
236235
class ReadTarFS(FS):
237-
"""A readable tar file.
238-
"""
236+
"""A readable tar file."""
239237

240238
_meta = {
241239
"case_insensitive": True,
@@ -433,7 +431,7 @@ def openbin(self, path, mode="r", buffering=-1, **options):
433431

434432
# TarFile.extractfile returns None if the entry is
435433
# neither a file nor a symlink
436-
reader = self._tar.extractfile(member)
434+
reader = self._tar.extractfile(member)
437435
if reader is None:
438436
raise errors.FileExpected(path)
439437

0 commit comments

Comments
 (0)