From 34f9df15361b4e069e172679ccc1e478a240cd91 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sun, 19 Dec 2004 19:50:00 +0000 Subject: [PATCH] [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. --- paramiko/sftp_si.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paramiko/sftp_si.py b/paramiko/sftp_si.py index a65073b..3a7e10d 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 """