summaryrefslogtreecommitdiff
path: root/paramiko/sftp_server.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-02-21 11:11:10 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-02-21 11:11:10 -0800
commit3f9270c0be18b09cd39279730eac125776adbedc (patch)
treed1f07354948a265339bc9229c0d1bc5f8c2865e2 /paramiko/sftp_server.py
parentf40bf59ff3d18e7a0d8cdf685df09efaeb3b126e (diff)
downloadparamiko-3f9270c0be18b09cd39279730eac125776adbedc.tar.gz
Mass SnR of class refs with dotted ones.
Boo on Sphinx for not letting me just change this behavior by default. There are a handful of incorrect items here that will get tweaked later.
Diffstat (limited to 'paramiko/sftp_server.py')
-rw-r--r--paramiko/sftp_server.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/paramiko/sftp_server.py b/paramiko/sftp_server.py
index 867acbcb..89684c15 100644
--- a/paramiko/sftp_server.py
+++ b/paramiko/sftp_server.py
@@ -40,7 +40,7 @@ _hash_class = {
class SFTPServer (BaseSFTP, SubsystemHandler):
"""
- Server-side SFTP subsystem support. Since this is a :class:`SubsystemHandler`,
+ Server-side SFTP subsystem support. Since this is a :class:`.SubsystemHandler`,
it can be (and is meant to be) set as the handler for ``"sftp"`` requests.
Use :class:`Transport.set_subsystem_handler` to activate this class.
"""
@@ -48,18 +48,18 @@ class SFTPServer (BaseSFTP, SubsystemHandler):
def __init__(self, channel, name, server, sftp_si=SFTPServerInterface, *largs, **kwargs):
"""
The constructor for SFTPServer is meant to be called from within the
- :class:`Transport` as a subsystem handler. ``server`` and any additional
+ :class:`.Transport` as a subsystem handler. ``server`` and any additional
parameters or keyword parameters are passed from the original call to
:class:`Transport.set_subsystem_handler`.
- :param channel: channel passed from the :class:`Transport`.
- :type channel: :class:`Channel`
+ :param channel: channel passed from the :class:`.Transport`.
+ :type channel: :class:`.Channel`
:param name: name of the requested subsystem.
:type name: str
:param server: the server object associated with this channel and
subsystem
- :type server: :class:`ServerInterface`
- :param sftp_si: a subclass of :class:`SFTPServerInterface` to use for handling
+ :type server: :class:`.ServerInterface`
+ :param sftp_si: a subclass of :class:`.SFTPServerInterface` to use for handling
individual requests.
:type sftp_si: class
"""
@@ -128,7 +128,7 @@ class SFTPServer (BaseSFTP, SubsystemHandler):
:param e: an errno code, as from ``OSError.errno``.
:type e: int
- :return: an SFTP error code like :class:`SFTP_NO_SUCH_FILE`.
+ :return: an SFTP error code like :class:`.SFTP_NO_SUCH_FILE`.
:rtype: int
"""
if e == errno.EACCES:
@@ -155,7 +155,7 @@ class SFTPServer (BaseSFTP, SubsystemHandler):
absolute path).
:type filename: str
:param attr: attributes to change.
- :type attr: :class:`SFTPAttributes`
+ :type attr: :class:`.SFTPAttributes`
"""
if sys.platform != 'win32':
# mode operations are meaningless on win32