summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-02-26 19:27:37 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-02-26 19:27:37 -0800
commitd97d28e4e2e0fd6f63c97fd58d3fdb96a5d9e4b4 (patch)
treef1af472c5502452f65a0d36d775b4aab87eca9ac
parentdfcd904318ed40af0e79efe72a293d538a3fb716 (diff)
downloadparamiko-d97d28e4e2e0fd6f63c97fd58d3fdb96a5d9e4b4.tar.gz
Fix up remaining Sphinx build warnings
-rw-r--r--paramiko/server.py3
-rw-r--r--paramiko/sftp_si.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/paramiko/server.py b/paramiko/server.py
index 11562e12..c3f3a0c4 100644
--- a/paramiko/server.py
+++ b/paramiko/server.py
@@ -46,6 +46,7 @@ class ServerInterface (object):
useless), you should also override some of the channel request methods
below, which are used to determine which services will be allowed on
a given channel:
+
- `check_channel_pty_request`
- `check_channel_shell_request`
- `check_channel_subsystem_request`
@@ -62,6 +63,7 @@ class ServerInterface (object):
The return value should either be ``OPEN_SUCCEEDED`` (or
``0``) to allow the channel request, or one of the following error
codes to reject it:
+
- ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED``
- ``OPEN_FAILED_CONNECT_FAILED``
- ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE``
@@ -449,6 +451,7 @@ class ServerInterface (object):
The return value should either be ``OPEN_SUCCEEDED`` (or
``0``) to allow the channel request, or one of the following error
codes to reject it:
+
- ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED``
- ``OPEN_FAILED_CONNECT_FAILED``
- ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE``
diff --git a/paramiko/sftp_si.py b/paramiko/sftp_si.py
index d4b34268..3786be4e 100644
--- a/paramiko/sftp_si.py
+++ b/paramiko/sftp_si.py
@@ -78,6 +78,7 @@ class SFTPServerInterface (object):
``flags`` contains the requested mode for opening (read-only,
write-append, etc) as a bitset of flags from the ``os`` module:
+
- ``os.O_RDONLY``
- ``os.O_WRONLY``
- ``os.O_RDWR``
@@ -85,6 +86,7 @@ class SFTPServerInterface (object):
- ``os.O_CREAT``
- ``os.O_TRUNC``
- ``os.O_EXCL``
+
(One of ``os.O_RDONLY``, ``os.O_WRONLY``, or ``os.O_RDWR`` will always
be set.)