From d81758f1ff7da3320802d48853c3df938e8309e0 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Mon, 26 Jun 2006 23:08:10 -0700 Subject: [PATCH] [project @ robey@lag.net-20060627060810-93a5453df5ae4a62] log mkdir mode when given --- paramiko/sftp_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py index 07fe616..059b5aa 100644 --- a/paramiko/sftp_client.py +++ b/paramiko/sftp_client.py @@ -271,7 +271,7 @@ class SFTPClient (BaseSFTP): @type mode: int """ path = self._adjust_cwd(path) - self._log(DEBUG, 'mkdir(%r)' % path) + self._log(DEBUG, 'mkdir(%r, %r)' % (path, mode)) attr = SFTPAttributes() attr.st_mode = mode self._request(CMD_MKDIR, path, attr)