Skip to content

Commit

Permalink
Merge PR #372 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed May 17, 2024
2 parents 1776ecb + 17e19ab commit 1e5d43e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fs_storage/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"wizards/fs_test_connection.xml",
],
"demo": ["demo/fs_storage.xml"],
"external_dependencies": {"python": ["fsspec"]},
"external_dependencies": {"python": ["fsspec>=2024.5.0"]},
}
2 changes: 1 addition & 1 deletion fs_storage/rooted_dir_file_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _join(self, path):
# any relative paths.
# Since the path separator is not always the same on all systems,
# we need to normalize the path separator.
path_posix = os.path.normpath(make_path_posix(path, self.sep))
path_posix = os.path.normpath(make_path_posix(path))
root_posix = os.path.normpath(make_path_posix(self.path))
if not path_posix.startswith(root_posix):
raise PermissionError(
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# generated from manifests external_dependencies
fsspec
fsspec>=2024.5.0
paramiko
python_slugify

0 comments on commit 1e5d43e

Please sign in to comment.