Fix up remaining Sphinx build warnings

This commit is contained in:
Jeff Forcier 2014-02-26 19:27:37 -08:00
parent dfcd904318
commit d97d28e4e2
2 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class ServerInterface (object):
useless), you should also override some of the channel request methods useless), you should also override some of the channel request methods
below, which are used to determine which services will be allowed on below, which are used to determine which services will be allowed on
a given channel: a given channel:
- `check_channel_pty_request` - `check_channel_pty_request`
- `check_channel_shell_request` - `check_channel_shell_request`
- `check_channel_subsystem_request` - `check_channel_subsystem_request`
@ -62,6 +63,7 @@ class ServerInterface (object):
The return value should either be ``OPEN_SUCCEEDED`` (or The return value should either be ``OPEN_SUCCEEDED`` (or
``0``) to allow the channel request, or one of the following error ``0``) to allow the channel request, or one of the following error
codes to reject it: codes to reject it:
- ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED`` - ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED``
- ``OPEN_FAILED_CONNECT_FAILED`` - ``OPEN_FAILED_CONNECT_FAILED``
- ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE`` - ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE``
@ -449,6 +451,7 @@ class ServerInterface (object):
The return value should either be ``OPEN_SUCCEEDED`` (or The return value should either be ``OPEN_SUCCEEDED`` (or
``0``) to allow the channel request, or one of the following error ``0``) to allow the channel request, or one of the following error
codes to reject it: codes to reject it:
- ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED`` - ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED``
- ``OPEN_FAILED_CONNECT_FAILED`` - ``OPEN_FAILED_CONNECT_FAILED``
- ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE`` - ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE``

View File

@ -78,6 +78,7 @@ class SFTPServerInterface (object):
``flags`` contains the requested mode for opening (read-only, ``flags`` contains the requested mode for opening (read-only,
write-append, etc) as a bitset of flags from the ``os`` module: write-append, etc) as a bitset of flags from the ``os`` module:
- ``os.O_RDONLY`` - ``os.O_RDONLY``
- ``os.O_WRONLY`` - ``os.O_WRONLY``
- ``os.O_RDWR`` - ``os.O_RDWR``
@ -85,6 +86,7 @@ class SFTPServerInterface (object):
- ``os.O_CREAT`` - ``os.O_CREAT``
- ``os.O_TRUNC`` - ``os.O_TRUNC``
- ``os.O_EXCL`` - ``os.O_EXCL``
(One of ``os.O_RDONLY``, ``os.O_WRONLY``, or ``os.O_RDWR`` will always (One of ``os.O_RDONLY``, ``os.O_WRONLY``, or ``os.O_RDWR`` will always
be set.) be set.)