Skip to content

Commit 222e186

Browse files
committed
🚑 Replace rename by posix_rename with update of paramiko
1 parent 7dd0cf1 commit 222e186

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/devops.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ jobs:
2121
steps:
2222
- name: Git checkout
2323
uses: actions/checkout@v4
24-
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v5
26-
with:
27-
python-version: ${{ matrix.python-version }}
28-
cache: 'pip'
24+
2925
- name: Install Dependencies
3026
run: pip install -r requirements-dev.txt
3127
- name: Make all tests with make

seedboxsync/core/sync/sftp_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def rename(self, old_path: str, new_path: str):
130130
:param str old_path: existing name of the file or folder
131131
:param str new_path: new name for the file or folder
132132
"""
133-
return self.__client.rename(old_path, new_path)
133+
return self.__client.posix_rename(old_path, new_path)
134134

135135
# Code from https://gist.github.com/johnfink8/2190472
136136
def walk(self, remote_path: str):

0 commit comments

Comments
 (0)