[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.
This commit is contained in:
parent
8d127ae8e1
commit
34f9df1536
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue