Skip to content

Commit

Permalink
oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robey Pointer committed Jul 20, 2009
1 parent 0840d8d commit b422065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paramiko/sftp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def chdir(self, path):
@since: 1.4
"""
if not S_ISDIR(self.stat(path).st_mode):
if not stat.S_ISDIR(self.stat(path).st_mode):
raise SFTPError(errno.ENOTDIR, "%s: %s" % (os.strerror(errno.ENOTDIR), path))
self._cwd = self.normalize(path)

Expand Down

0 comments on commit b422065

Please sign in to comment.