Skip to content

Commit deb258a

Browse files
authored
Fix links because we're on Python 3 now (#832)
1 parent b442f5d commit deb258a

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎splunklib/searchcommands/decorators.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class Option(property):
249249
**Example:**
250250
251251
Long form. Useful when you wish to manage the option value and its deleter/getter/setter side-effects yourself. You
252-
must provide a getter and a setter. If your :code:`Option` requires `destruction <https://docs.python.org/2/reference/datamodel.html#object.__del__>`_ you must
252+
must provide a getter and a setter. If your :code:`Option` requires `destruction <https://docs.python.org/3/reference/datamodel.html#object.__del__>`_ you must
253253
also provide a deleter. You must be prepared to accept a value of :const:`None` which indicates that your
254254
:code:`Option` is unset.
255255

‎splunklib/searchcommands/environment.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def configure_logging(logger_name, filename=None):
5757
:returns: The named logger and the location of the logging configuration file loaded.
5858
:rtype: tuple
5959
60-
.. _ConfigParser format: https://docs.python.org/2/library/logging.config.html#configuration-file-format
60+
.. _ConfigParser format: https://docs.python.org/3/library/logging.config.html#configuration-file-format
6161
6262
"""
6363
if filename is None:

‎splunklib/searchcommands/search_command.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ def dispatch(
11541154
):
11551155
"""Instantiates and executes a search command class
11561156
1157-
This function implements a `conditional script stanza <https://docs.python.org/2/library/__main__.html>`_ based on the value of
1157+
This function implements a `conditional script stanza <https://docs.python.org/3/library/__main__.html>`_ based on the value of
11581158
:code:`module_name`::
11591159
11601160
if module_name is None or module_name == '__main__':

‎tests/unit/searchcommands/apps/app_with_logging_configuration/default/alternative-logging.conf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# The format and semantics of this file are described in this article at Python.org:
33
#
4-
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
4+
# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format)
55
#
66
[loggers]
77
keys = root, splunklib, SearchCommand
@@ -31,7 +31,7 @@ handlers = app
3131
propagate = 0
3232

3333
[handlers]
34-
# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html)
34+
# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html)
3535
keys = app, splunklib, stderr
3636

3737
[handler_app]

‎tests/unit/searchcommands/apps/app_with_logging_configuration/default/logging.conf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# The format and semantics of this file are described in this article at Python.org:
33
#
4-
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
4+
# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format)
55
#
66
[loggers]
77
keys = root, splunklib, SearchCommand
@@ -31,7 +31,7 @@ handlers = app
3131
propagate = 0
3232

3333
[handlers]
34-
# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html)
34+
# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html)
3535
keys = app, splunklib, stderr
3636

3737
[handler_app]

‎tests/unit/searchcommands/apps/app_with_logging_configuration/logging.conf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# The format and semantics of this file are described in this article at Python.org:
33
#
4-
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
4+
# [Configuration file format](https://docs.python.org/3/library/logging.config.html#configuration-file-format)
55
#
66
[loggers]
77
keys = root, splunklib, SearchCommand
@@ -31,7 +31,7 @@ handlers = app
3131
propagate = 0
3232

3333
[handlers]
34-
# See [logging.handlers](https://docs.python.org/2/library/logging.handlers.html)
34+
# See [logging.handlers](https://docs.python.org/3/library/logging.handlers.html)
3535
keys = app, splunklib, stderr
3636

3737
[handler_app]

0 commit comments

Comments
 (0)