Skip to content

Commit c8d2708

Browse files
committed
fix import error
1 parent d733cab commit c8d2708

File tree

19 files changed

+303
-303
lines changed

19 files changed

+303
-303
lines changed

fs/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def makedir(self, path, recursive=False, allow_recreate=False):
641641
"""
642642
raise UnsupportedError("make directory")
643643

644-
def remove(self, path):
644+
def remove(self, path, **kwargs):
645645
"""Remove a file from the filesystem.
646646
647647
:param path: Path of the resource to remove

fs/contrib/archivefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def getsize(self, path):
318318
else:
319319
return fs.getsize(delegate_path)
320320

321-
def remove(self, path):
321+
def remove(self, path, **kwargs):
322322
"""A remove() override that deletes an archive directly. It is not fooled
323323
by a mounted archive. If the path is not an archive, the call is delegated."""
324324
if libarchive.is_archive_name(path) and self.ismount(path):

0 commit comments

Comments
 (0)