summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2006-06-26 23:08:10 -0700
committerRobey Pointer <robey@lag.net>2006-06-26 23:08:10 -0700
commitd81758f1ff7da3320802d48853c3df938e8309e0 (patch)
tree264779bdc662d4780dcf68ced6f75f5e38bdb1d7
parentbe86d5474aedcea63af39a271a0f437a79b3d780 (diff)
[project @ robey@lag.net-20060627060810-93a5453df5ae4a62]
log mkdir mode when given
-rw-r--r--paramiko/sftp_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py
index 07fe616a..059b5aa1 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)