Skip to content

Commit 171194e

Browse files
committed
add inline comments
1 parent abc48d5 commit 171194e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

synapseclient/core/remote_file_storage_wrappers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def progress_callback(*args, **kwargs) -> None:
316316
progress_bar.update(args[0] - progress_bar.n)
317317

318318
parsedURL = SFTPWrapper._parse_for_sftp(url)
319+
# If the port is not specified, it will default to 22
319320
port_kwargs = {"port": parsedURL.port} if parsedURL.port else {}
320321
with _retry_pysftp_connection(
321322
parsedURL.hostname, username=username, password=password, **port_kwargs

0 commit comments

Comments
 (0)