diff --git a/splunklib/searchcommands/decorators.py b/splunklib/searchcommands/decorators.py index 63be49fa1..80be3d862 100644 --- a/splunklib/searchcommands/decorators.py +++ b/splunklib/searchcommands/decorators.py @@ -249,7 +249,7 @@ class Option(property): **Example:** Long form. Useful when you wish to manage the option value and its deleter/getter/setter side-effects yourself. You - must provide a getter and a setter. If your :code:`Option` requires `destruction `_ you must + must provide a getter and a setter. If your :code:`Option` requires `destruction `_ you must also provide a deleter. You must be prepared to accept a value of :const:`None` which indicates that your :code:`Option` is unset. diff --git a/splunklib/searchcommands/environment.py b/splunklib/searchcommands/environment.py index a5acb82d8..7f0220e43 100644 --- a/splunklib/searchcommands/environment.py +++ b/splunklib/searchcommands/environment.py @@ -57,7 +57,7 @@ def configure_logging(logger_name, filename=None): :returns: The named logger and the location of the logging configuration file loaded. :rtype: tuple - .. _ConfigParser format: https://docs.python.org/2/library/logging.config.html#configuration-file-format + .. _ConfigParser format: https://docs.python.org/3/library/logging.config.html#configuration-file-format """ if filename is None: diff --git a/splunklib/searchcommands/search_command.py b/splunklib/searchcommands/search_command.py index 8716cec54..50a03a9fc 100644 --- a/splunklib/searchcommands/search_command.py +++ b/splunklib/searchcommands/search_command.py @@ -1154,7 +1154,7 @@ def dispatch( ): """Instantiates and executes a search command class - This function implements a `conditional script stanza `_ based on the value of + This function implements a `conditional script stanza `_ based on the value of :code:`module_name`:: if module_name is None or module_name == '__main__': diff --git a/tests/unit/searchcommands/apps/app_with_logging_configuration/default/alternative-logging.conf b/tests/unit/searchcommands/apps/app_with_logging_configuration/default/alternative-logging.conf index ede34090a..8e5c28687 100644 --- a/tests/unit/searchcommands/apps/app_with_logging_configuration/default/alternative-logging.conf +++ b/tests/unit/searchcommands/apps/app_with_logging_configuration/default/alternative-logging.conf @@ -1,7 +1,7 @@ # # The format and semantics of this file are described in this article at Python.org: # -# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format) +# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format) # [loggers] keys = root, splunklib, SearchCommand @@ -31,7 +31,7 @@ handlers = app propagate = 0 [handlers] -# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html) +# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html) keys = app, splunklib, stderr [handler_app] diff --git a/tests/unit/searchcommands/apps/app_with_logging_configuration/default/logging.conf b/tests/unit/searchcommands/apps/app_with_logging_configuration/default/logging.conf index ede34090a..8e5c28687 100644 --- a/tests/unit/searchcommands/apps/app_with_logging_configuration/default/logging.conf +++ b/tests/unit/searchcommands/apps/app_with_logging_configuration/default/logging.conf @@ -1,7 +1,7 @@ # # The format and semantics of this file are described in this article at Python.org: # -# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format) +# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format) # [loggers] keys = root, splunklib, SearchCommand @@ -31,7 +31,7 @@ handlers = app propagate = 0 [handlers] -# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html) +# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html) keys = app, splunklib, stderr [handler_app] diff --git a/tests/unit/searchcommands/apps/app_with_logging_configuration/logging.conf b/tests/unit/searchcommands/apps/app_with_logging_configuration/logging.conf index ede34090a..8e5c28687 100644 --- a/tests/unit/searchcommands/apps/app_with_logging_configuration/logging.conf +++ b/tests/unit/searchcommands/apps/app_with_logging_configuration/logging.conf @@ -1,7 +1,7 @@ # # The format and semantics of this file are described in this article at Python.org: # -# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format) +# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format) # [loggers] keys = root, splunklib, SearchCommand @@ -31,7 +31,7 @@ handlers = app propagate = 0 [handlers] -# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html) +# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html) keys = app, splunklib, stderr [handler_app]