Skip to content

Commit

Permalink
Minor doc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-M committed Mar 14, 2020
1 parent 90ab1f2 commit 860c269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion redssh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'''
VERSION = u'2.1.7'
VERSION = u'2.2.0'

from redssh.redssh import RedSSH
from redssh.redssh import exceptions
Expand Down
5 changes: 3 additions & 2 deletions redssh/sftp.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class RedSFTP(object):
'''
.. warning::
This will only interact with the remote server as the user you logged in as, not the current user you are running commands as.
This will only interact with the remote server as the user you logged in as, not the current user you are running commands as.
Set ``self.ignore_existing_dirs`` to ``False`` to make `redssh.sftp.RedSFTP.mkdir` not ignore already existing directories.
'''
Expand Down Expand Up @@ -299,8 +299,9 @@ def put_file(self,local_path,remote_path):
class RedSFTPFile(object):
'''
Interact with files over SFTP using a class rather than passing a file handle around.
.. warning::
This class simply uses the functions from `redssh.sftp.RedSFTP` minus any requirement for the `file_obj` argument for calls.
This class simply uses the functions from `redssh.sftp.RedSFTP` minus any requirement for the `file_obj` argument for calls.
:param sftp: `redssh.sftp.RedSFTP` object from the session you'd like to interact via.
:type sftp: `redssh.sftp.RedSFTP`
Expand Down

0 comments on commit 860c269

Please sign in to comment.