Skip to content

Commit

Permalink
Update saturnfs.py
Browse files Browse the repository at this point in the history
is_dir is deprecated
  • Loading branch information
hhuuggoo committed Mar 19, 2024
1 parent b11a592 commit 675bb02
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions saturnfs/client/saturnfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def put(

fs = LocalFileSystem()
lpaths = fs.expand_path(lpath, recursive=recursive)
is_dir = isinstance(rpath, str) and self.isdir(rpath)

# Overriding the default implementation to set exists=False
# Without this, there's no way to format a recursive put
Expand All @@ -119,7 +118,6 @@ def put(
lpaths,
rpath,
exists=False,
is_dir=is_dir,
)

callback.set_size(len(rpaths))
Expand Down

0 comments on commit 675bb02

Please sign in to comment.