]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove redundant prefix from Python 3 strings
authorMichał Kępień <michal@isc.org>
Thu, 16 Sep 2021 06:22:01 +0000 (08:22 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 16 Sep 2021 06:22:01 +0000 (08:22 +0200)
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)

doc/arm/conf.py
doc/man/conf.py

index 1458fe9f47025461ec21b74c39316cf99d66c2c1..b8aca9b33c92b9a8541d122a28148d5a4927f2ed 100644 (file)
@@ -87,10 +87,10 @@ def setup(_):
 
 # -- Project information -----------------------------------------------------
 
-project = u'BIND 9'
+project = 'BIND 9'
 # pylint: disable=redefined-builtin
-copyright = u'2021, Internet Systems Consortium'
-author = u'Internet Systems Consortium'
+copyright = '2021, Internet Systems Consortium'
+author = 'Internet Systems Consortium'
 
 # -- General configuration ---------------------------------------------------
 
@@ -140,7 +140,7 @@ latex_engine = 'xelatex'
 
 # pylint disable=line-too-long
 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"
index 8b4e37c777e68bfba9ed85b3d2f8718c6da0aee0..6395cf097453d835b9709f8e31949c09b8b8f9c8 100644 (file)
 
 # -- Project information -----------------------------------------------------
 
-project = u'BIND 9'
+project = 'BIND 9'
 # pylint: disable=wrong-import-position
 import datetime
 year = datetime.datetime.now().year
 # pylint: disable=redefined-builtin
-copyright = u"%d, Internet Systems Consortium" % year
-author = u'Internet Systems Consortium'
+copyright = "%d, Internet Systems Consortium" % year
+author = 'Internet Systems Consortium'
 
 # -- General configuration ---------------------------------------------------