diff options
author | Robey Pointer <robey@lag.net> | 2004-12-19 19:50:00 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-12-19 19:50:00 +0000 |
commit | 34f9df15361b4e069e172679ccc1e478a240cd91 (patch) | |
tree | 7c2882ad587000cca201ece76a4d5d9bc8b49230 | |
parent | 8d127ae8e19551b9f4d10b66430e26fbe0caeb5b (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-135]
more sftp cleanup
oops, this should've been part of the last patch.
-rw-r--r-- | paramiko/sftp_si.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/paramiko/sftp_si.py b/paramiko/sftp_si.py index a65073b4..3a7e10d5 100644 --- a/paramiko/sftp_si.py +++ b/paramiko/sftp_si.py @@ -275,17 +275,17 @@ class SFTPServerInterface (object): """ return SFTP_OP_UNSUPPORTED - def symlink(self, path, target_path): + def symlink(self, target_path, path): """ Create a symbolic link on the server, as new pathname C{path}, with C{target_path} as the target of the link. - @param path: path (relative or absolute) of the symbolic link to - create. - @type path: str @param target_path: path (relative or absolute) of the target for this new symbolic link. @type target_path: str + @param path: path (relative or absolute) of the symbolic link to + create. + @type path: str @return: an error code like C{SFTP_OK}. @rtype: int """ |