diff options
author | Jonathan Corbet <corbet@lwn.net> | 2021-02-02 01:17:14 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2021-02-02 01:17:14 +0100 |
commit | 4217e5074f33d855873370378d427e329b60a7b4 (patch) | |
tree | 3186d771136f53250502d43a2301aeef1a90f76b /Documentation/sphinx/maintainers_include.py | |
parent | Move our minimum Sphinx version to 1.7 (diff) | |
download | linux-4217e5074f33d855873370378d427e329b60a7b4.tar.xz linux-4217e5074f33d855873370378d427e329b60a7b4.zip |
Docs: drop Python 2 support
The kernel build system as a whole is dropping support for Python 2, so we
should do the same. The effects are rather small, especially considering
that much of the deleted code was not doing anything under any version of
Python anyway.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx/maintainers_include.py')
-rwxr-xr-x | Documentation/sphinx/maintainers_include.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sphinx/maintainers_include.py index dc8fed48d3c2..328b3631a585 100755 --- a/Documentation/sphinx/maintainers_include.py +++ b/Documentation/sphinx/maintainers_include.py @@ -61,8 +61,6 @@ class MaintainersInclude(Include): field_content = "" for line in open(path): - if sys.version_info.major == 2: - line = unicode(line, 'utf-8') # Have we reached the end of the preformatted Descriptions text? if descriptions and line.startswith('Maintainers'): descriptions = False |