diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-04-04 20:01:17 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-04-09 16:43:34 +0200 |
commit | c4fa6efa67775a6b333a4a5aa873b5cc24a4f7bc (patch) | |
tree | d8977f4c2c97287865a2407b25c0327c49bbe17c /solenv | |
parent | 2d64651e889e55f63c90ded24e63e17eaf52102f (diff) |
pyuno,*: kill Python 2 support with fire
Python 2 support was retained for use with --enable-python=system
on RHEL7 and SLES. The time has arrived to remove it.
Some .py files that were imported from third parties are not changed to
enable easier replacement with updated versions if necessary.
solenv/gdb should continue to support Python 2.
bin/get-bugzilla-attachments-by-mimetype requires Python 2 to access
Launchpad.
Change-Id: I26414ae8e9f8402c90336af82020135685694217
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91697
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/version.py | 1 | ||||
-rw-r--r-- | solenv/gbuild/gen-autoinstall.py | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/solenv/bin/version.py b/solenv/bin/version.py index 18c04414178d..2ed1b5b83487 100755 --- a/solenv/bin/version.py +++ b/solenv/bin/version.py @@ -1,6 +1,5 @@ #!/usr/bin/env python -from __future__ import print_function from optparse import OptionParser import os.path import re diff --git a/solenv/gbuild/gen-autoinstall.py b/solenv/gbuild/gen-autoinstall.py index 2feb1a92f406..44f4ecd7ffd1 100644 --- a/solenv/gbuild/gen-autoinstall.py +++ b/solenv/gbuild/gen-autoinstall.py @@ -9,8 +9,6 @@ # generate AutoInstall files from gbuild data for further scp2 processing -from __future__ import print_function - import sys module = sys.argv[1] |