mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
Remove redundant prefix from Python 3 strings
Address the following warnings reported by PyLint 2.10.2: ************* Module conf doc/arm/conf.py:90:10: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) doc/arm/conf.py:92:12: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) doc/arm/conf.py:93:9: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) doc/arm/conf.py:143:31: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) doc/man/conf.py:33:10: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) doc/man/conf.py:38:12: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix) doc/man/conf.py:39:9: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
This commit is contained in:
@@ -87,10 +87,10 @@ def setup(_):
|
|||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = u'BIND 9'
|
project = 'BIND 9'
|
||||||
# pylint: disable=redefined-builtin
|
# pylint: disable=redefined-builtin
|
||||||
copyright = u'2021, Internet Systems Consortium'
|
copyright = '2021, Internet Systems Consortium'
|
||||||
author = u'Internet Systems Consortium'
|
author = 'Internet Systems Consortium'
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ latex_engine = 'xelatex'
|
|||||||
|
|
||||||
# pylint disable=line-too-long
|
# pylint disable=line-too-long
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
(master_doc, 'Bv9ARM.tex', u'BIND 9 Administrator Reference Manual', author, 'manual'),
|
(master_doc, 'Bv9ARM.tex', 'BIND 9 Administrator Reference Manual', author, 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
latex_logo = "isc-logo.pdf"
|
latex_logo = "isc-logo.pdf"
|
||||||
|
@@ -30,13 +30,13 @@
|
|||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = u'BIND 9'
|
project = 'BIND 9'
|
||||||
# pylint: disable=wrong-import-position
|
# pylint: disable=wrong-import-position
|
||||||
import datetime
|
import datetime
|
||||||
year = datetime.datetime.now().year
|
year = datetime.datetime.now().year
|
||||||
# pylint: disable=redefined-builtin
|
# pylint: disable=redefined-builtin
|
||||||
copyright = u"%d, Internet Systems Consortium" % year
|
copyright = "%d, Internet Systems Consortium" % year
|
||||||
author = u'Internet Systems Consortium'
|
author = 'Internet Systems Consortium'
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user