Skip to content

Commit c867b1f

Browse files
authored
Merge pull request ckan#8075 from ckan/Remove-references-to-Python-2.7-in-docs
Docs: remove Python 2.7 URL links
2 parents f2aa96e + 97cdc59 commit c867b1f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

doc/contributing/python.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Imports
7474
Logging
7575
-------
7676

77-
We use `the Python standard library's logging module <https://docs.python.org/2.7/library/logging.html>`_
77+
We use `the Python standard library's logging module <https://docs.python.org/3/library/logging.html>`_
7878
to log messages in CKAN, e.g.::
7979

8080
import logging
@@ -106,7 +106,7 @@ replacement field, for example::
106106

107107
_(' ... {foo} ... {bar} ...').format(foo='foo-value', bar='bar-value')
108108

109-
.. _new .format() method: http://docs.python.org/2/library/stdtypes.html#str.format
109+
.. _new .format() method: https://docs.python.org/3/library/stdtypes.html#str.format
110110

111111

112112
Unicode handling

doc/contributing/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ prefix. Simply use ``ur`` instead::
8787
For more information on string prefixes please refer to the
8888
`Python documentation`_.
8989

90-
.. _Python documentation: https://docs.python.org/2.7/reference/lexical_analysis.html#string-literals
90+
.. _Python documentation: https://docs.python.org/3/reference/lexical_analysis.html
9191

9292
.. note::
9393

doc/maintaining/background-tasks.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,7 @@ job ID, that will be done automatically for you.
381381

382382
Supporting both systems at once
383383
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
384-
Not all CKAN installations will immediately update to CKAN 2.7. It might
385-
therefore make sense for you to support both the new and the old job system.
386-
That way you are ready when the old system is removed but can continue to
387-
support older CKAN installations.
384+
It might make sense to support both the RQ and the old Celery-based job system.
388385

389386
The easiest way to do that is to use `ckanext-rq
390387
<https://github.com/davidread/ckanext-rq>`_, which provides a back-port of the

0 commit comments

Comments
 (0)