log mkdir mode when given
This commit is contained in:
Robey Pointer 2006-06-26 23:08:10 -07:00
parent be86d5474a
commit d81758f1ff
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class SFTPClient (BaseSFTP):
@type mode: int @type mode: int
""" """
path = self._adjust_cwd(path) path = self._adjust_cwd(path)
self._log(DEBUG, 'mkdir(%r)' % path) self._log(DEBUG, 'mkdir(%r, %r)' % (path, mode))
attr = SFTPAttributes() attr = SFTPAttributes()
attr.st_mode = mode attr.st_mode = mode
self._request(CMD_MKDIR, path, attr) self._request(CMD_MKDIR, path, attr)