[elbe-devel] [PATCH v2 05/27] python3: Remove __future__ imports

Torben Hohn torben.hohn at linutronix.de
Wed Sep 30 14:21:08 CEST 2020


On Thu, Sep 24, 2020 at 04:56:02PM +0200, Torben Hohn wrote:
> From: Bastian Germann <bage at linutronix.de>
> 
> All of Elbe's python files have a Python 2 compatibility line
> "from __future__ import print_function" that is not needed for Python 3.
> Remove all of its occurences.
> 
> Signed-off-by: Bastian Germann <bage at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbe                                   | 2 --
>  elbepack/aptprogress.py                | 2 --
>  elbepack/changelogxml.py               | 2 --
>  elbepack/commands/add.py               | 2 --
>  elbepack/commands/adjustpkgs.py        | 2 --
>  elbepack/commands/bootup-check.py      | 2 --
>  elbepack/commands/buildchroot.py       | 2 --
>  elbepack/commands/buildsdk.py          | 2 --
>  elbepack/commands/buildsysroot.py      | 2 --
>  elbepack/commands/check_updates.py     | 2 --
>  elbepack/commands/chg_archive.py       | 2 --
>  elbepack/commands/chroot.py            | 2 --
>  elbepack/commands/control.py           | 2 --
>  elbepack/commands/daemon.py            | 2 --
>  elbepack/commands/db.py                | 2 --
>  elbepack/commands/debianize.py         | 2 --
>  elbepack/commands/diff.py              | 2 --
>  elbepack/commands/fetch_initvm_pkgs.py | 2 --
>  elbepack/commands/gen_update.py        | 2 --
>  elbepack/commands/genlicence.py        | 2 --
>  elbepack/commands/get_archive.py       | 2 --
>  elbepack/commands/hdimg.py             | 2 --
>  elbepack/commands/init.py              | 2 --
>  elbepack/commands/initvm.py            | 2 --
>  elbepack/commands/mkcdrom.py           | 2 --
>  elbepack/commands/parselicence.py      | 2 --
>  elbepack/commands/pbuilder.py          | 2 --
>  elbepack/commands/pin_versions.py      | 2 --
>  elbepack/commands/pkgdiff.py           | 2 --
>  elbepack/commands/preprocess.py        | 2 --
>  elbepack/commands/prjrepo.py           | 2 --
>  elbepack/commands/remove_sign.py       | 2 --
>  elbepack/commands/setsel.py            | 2 --
>  elbepack/commands/show.py              | 2 --
>  elbepack/commands/sign.py              | 2 --
>  elbepack/commands/validate.py          | 2 --
>  elbepack/commands/xsdtoasciidoc.py     | 2 --
>  elbepack/daemons/soap/__init__.py      | 2 --
>  elbepack/daemons/soap/esoap.py         | 2 --
>  elbepack/db.py                         | 2 --
>  elbepack/dbaction.py                   | 2 --
>  elbepack/debinstaller.py               | 2 --
>  elbepack/egpg.py                       | 2 --
>  elbepack/filesystem.py                 | 2 --
>  elbepack/finetuning.py                 | 2 --
>  elbepack/hdimg.py                      | 2 --
>  elbepack/initvmaction.py               | 2 --
>  elbepack/pbuilderaction.py             | 2 --
>  elbepack/pkgutils.py                   | 2 --
>  elbepack/rpcaptcache.py                | 2 --
>  elbepack/soapclient.py                 | 2 --
>  elbepack/templates.py                  | 2 --
>  elbepack/treeutils.py                  | 2 --
>  elbepack/updated.py                    | 2 --
>  elbepack/virtapt.py                    | 2 --
>  elbepack/xmldefaults.py                | 2 --
>  elbepack/xmlpreprocess.py              | 2 --
>  test/updated.py                        | 2 --
>  58 files changed, 116 deletions(-)
> 
> diff --git a/elbe b/elbe
> index d5886d174..eb0cdca94 100755
> --- a/elbe
> +++ b/elbe
> @@ -8,8 +8,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  # We need to import elbepack.commands so that
> diff --git a/elbepack/aptprogress.py b/elbepack/aptprogress.py
> index 2b8d4185b..a368ef31b 100644
> --- a/elbepack/aptprogress.py
> +++ b/elbepack/aptprogress.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  
>  from apt.progress.base import InstallProgress, AcquireProgress, OpProgress
> diff --git a/elbepack/changelogxml.py b/elbepack/changelogxml.py
> index 131a2d233..1d80c4451 100644
> --- a/elbepack/changelogxml.py
> +++ b/elbepack/changelogxml.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import re
>  from elbepack.treeutils import etree
>  
> diff --git a/elbepack/commands/add.py b/elbepack/commands/add.py
> index e2c647911..c1bbca260 100644
> --- a/elbepack/commands/add.py
> +++ b/elbepack/commands/add.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/adjustpkgs.py b/elbepack/commands/adjustpkgs.py
> index 72f1154aa..c812307cf 100644
> --- a/elbepack/commands/adjustpkgs.py
> +++ b/elbepack/commands/adjustpkgs.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import logging
>  import sys
>  from optparse import OptionParser
> diff --git a/elbepack/commands/bootup-check.py b/elbepack/commands/bootup-check.py
> index 784867484..8549e251d 100644
> --- a/elbepack/commands/bootup-check.py
> +++ b/elbepack/commands/bootup-check.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import apt
>  import apt_pkg
>  
> diff --git a/elbepack/commands/buildchroot.py b/elbepack/commands/buildchroot.py
> index 3f2e807d9..c60c13f00 100644
> --- a/elbepack/commands/buildchroot.py
> +++ b/elbepack/commands/buildchroot.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  import sys
>  import logging
> diff --git a/elbepack/commands/buildsdk.py b/elbepack/commands/buildsdk.py
> index ce14adc61..2206db303 100644
> --- a/elbepack/commands/buildsdk.py
> +++ b/elbepack/commands/buildsdk.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  import sys
>  import logging
> diff --git a/elbepack/commands/buildsysroot.py b/elbepack/commands/buildsysroot.py
> index ffcb611d9..5f8f98cd5 100644
> --- a/elbepack/commands/buildsysroot.py
> +++ b/elbepack/commands/buildsysroot.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import logging
>  from optparse import OptionParser
>  import sys
> diff --git a/elbepack/commands/check_updates.py b/elbepack/commands/check_updates.py
> index c0bd1d46c..b4f27ab30 100644
> --- a/elbepack/commands/check_updates.py
> +++ b/elbepack/commands/check_updates.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/chg_archive.py b/elbepack/commands/chg_archive.py
> index e7839af52..2d4643e7e 100644
> --- a/elbepack/commands/chg_archive.py
> +++ b/elbepack/commands/chg_archive.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/chroot.py b/elbepack/commands/chroot.py
> index 9f2d52430..3534c486a 100644
> --- a/elbepack/commands/chroot.py
> +++ b/elbepack/commands/chroot.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  import sys
>  import os
> diff --git a/elbepack/commands/control.py b/elbepack/commands/control.py
> index dc53825c3..50a3f01a3 100644
> --- a/elbepack/commands/control.py
> +++ b/elbepack/commands/control.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import socket
>  import sys
>  
> diff --git a/elbepack/commands/daemon.py b/elbepack/commands/daemon.py
> index 517c5aef4..a89667a3e 100644
> --- a/elbepack/commands/daemon.py
> +++ b/elbepack/commands/daemon.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  from optparse import OptionParser
>  from pkgutil import iter_modules
> diff --git a/elbepack/commands/db.py b/elbepack/commands/db.py
> index cb669acaa..08185d73d 100644
> --- a/elbepack/commands/db.py
> +++ b/elbepack/commands/db.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from elbepack.dbaction import DbAction
>  
>  
> diff --git a/elbepack/commands/debianize.py b/elbepack/commands/debianize.py
> index 3e37c2e5a..2eb946ee1 100644
> --- a/elbepack/commands/debianize.py
> +++ b/elbepack/commands/debianize.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import sys
>  
> diff --git a/elbepack/commands/diff.py b/elbepack/commands/diff.py
> index dd087b2f6..39ebbefda 100644
> --- a/elbepack/commands/diff.py
> +++ b/elbepack/commands/diff.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import sys
>  import filecmp
> diff --git a/elbepack/commands/fetch_initvm_pkgs.py b/elbepack/commands/fetch_initvm_pkgs.py
> index e9ba0a1b8..81dd6cd20 100644
> --- a/elbepack/commands/fetch_initvm_pkgs.py
> +++ b/elbepack/commands/fetch_initvm_pkgs.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import logging
>  from optparse import OptionParser
> diff --git a/elbepack/commands/gen_update.py b/elbepack/commands/gen_update.py
> index 8e9dac817..bf8e8739e 100644
> --- a/elbepack/commands/gen_update.py
> +++ b/elbepack/commands/gen_update.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  import sys
>  import os
> diff --git a/elbepack/commands/genlicence.py b/elbepack/commands/genlicence.py
> index fa8d4c218..1ef8cd213 100644
> --- a/elbepack/commands/genlicence.py
> +++ b/elbepack/commands/genlicence.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  import sys
>  import io
> diff --git a/elbepack/commands/get_archive.py b/elbepack/commands/get_archive.py
> index 6ce7cbc11..7dd86ee78 100644
> --- a/elbepack/commands/get_archive.py
> +++ b/elbepack/commands/get_archive.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import sys
>  
> diff --git a/elbepack/commands/hdimg.py b/elbepack/commands/hdimg.py
> index 5a274e05d..3f4d6031b 100644
> --- a/elbepack/commands/hdimg.py
> +++ b/elbepack/commands/hdimg.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import logging
>  
> diff --git a/elbepack/commands/init.py b/elbepack/commands/init.py
> index 6bb173e06..b0dba6af4 100644
> --- a/elbepack/commands/init.py
> +++ b/elbepack/commands/init.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import sys
>  import shutil
> diff --git a/elbepack/commands/initvm.py b/elbepack/commands/initvm.py
> index 7e1eeb761..b1d97888d 100644
> --- a/elbepack/commands/initvm.py
> +++ b/elbepack/commands/initvm.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import os
>  
> diff --git a/elbepack/commands/mkcdrom.py b/elbepack/commands/mkcdrom.py
> index 4bc3b0f4a..0dbeb3c7b 100644
> --- a/elbepack/commands/mkcdrom.py
> +++ b/elbepack/commands/mkcdrom.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  import sys
>  import os
> diff --git a/elbepack/commands/parselicence.py b/elbepack/commands/parselicence.py
> index 50deedcea..9148d7c5d 100644
> --- a/elbepack/commands/parselicence.py
> +++ b/elbepack/commands/parselicence.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from optparse import OptionParser
>  from datetime import datetime
>  import sys
> diff --git a/elbepack/commands/pbuilder.py b/elbepack/commands/pbuilder.py
> index 3e7dc5788..d1d8b3bd9 100644
> --- a/elbepack/commands/pbuilder.py
> +++ b/elbepack/commands/pbuilder.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/pin_versions.py b/elbepack/commands/pin_versions.py
> index e5eb13b50..b44af4485 100644
> --- a/elbepack/commands/pin_versions.py
> +++ b/elbepack/commands/pin_versions.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/pkgdiff.py b/elbepack/commands/pkgdiff.py
> index aa769550a..8fd4cbeb3 100644
> --- a/elbepack/commands/pkgdiff.py
> +++ b/elbepack/commands/pkgdiff.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import sys
>  
> diff --git a/elbepack/commands/preprocess.py b/elbepack/commands/preprocess.py
> index bc4278e50..7740d4e4c 100644
> --- a/elbepack/commands/preprocess.py
> +++ b/elbepack/commands/preprocess.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import os
>  from optparse import OptionParser
> diff --git a/elbepack/commands/prjrepo.py b/elbepack/commands/prjrepo.py
> index 80ccffeb5..dff01b2d7 100644
> --- a/elbepack/commands/prjrepo.py
> +++ b/elbepack/commands/prjrepo.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import socket
>  import sys
>  
> diff --git a/elbepack/commands/remove_sign.py b/elbepack/commands/remove_sign.py
> index cad72052c..ee0e58d42 100644
> --- a/elbepack/commands/remove_sign.py
> +++ b/elbepack/commands/remove_sign.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from elbepack.egpg import unsign_file
>  
>  
> diff --git a/elbepack/commands/setsel.py b/elbepack/commands/setsel.py
> index 2ff653de6..870bc6acb 100644
> --- a/elbepack/commands/setsel.py
> +++ b/elbepack/commands/setsel.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/show.py b/elbepack/commands/show.py
> index e1076d804..5d5df3e16 100644
> --- a/elbepack/commands/show.py
> +++ b/elbepack/commands/show.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/commands/sign.py b/elbepack/commands/sign.py
> index 94a5b88d4..b0e8290b6 100644
> --- a/elbepack/commands/sign.py
> +++ b/elbepack/commands/sign.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  from elbepack.egpg import sign_file
>  
>  
> diff --git a/elbepack/commands/validate.py b/elbepack/commands/validate.py
> index dc7115065..b024af692 100644
> --- a/elbepack/commands/validate.py
> +++ b/elbepack/commands/validate.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import os
>  from optparse import OptionParser
> diff --git a/elbepack/commands/xsdtoasciidoc.py b/elbepack/commands/xsdtoasciidoc.py
> index 75b69021d..5bcfb8c96 100644
> --- a/elbepack/commands/xsdtoasciidoc.py
> +++ b/elbepack/commands/xsdtoasciidoc.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/daemons/soap/__init__.py b/elbepack/daemons/soap/__init__.py
> index 4ecf6cde9..8b6dd30f0 100644
> --- a/elbepack/daemons/soap/__init__.py
> +++ b/elbepack/daemons/soap/__init__.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from beaker.middleware import SessionMiddleware
> diff --git a/elbepack/daemons/soap/esoap.py b/elbepack/daemons/soap/esoap.py
> index 6a3a224b8..c64e6ba04 100644
> --- a/elbepack/daemons/soap/esoap.py
> +++ b/elbepack/daemons/soap/esoap.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import binascii
>  import os
>  import tarfile
> diff --git a/elbepack/db.py b/elbepack/db.py
> index a9a00ba6b..c9ac55892 100644
> --- a/elbepack/db.py
> +++ b/elbepack/db.py
> @@ -8,8 +8,6 @@
>  
>  # pylint: disable=too-many-lines
>  
> -from __future__ import print_function
> -
>  import os
>  import errno
>  import re
> diff --git a/elbepack/dbaction.py b/elbepack/dbaction.py
> index ac484eee4..e4c46640f 100644
> --- a/elbepack/dbaction.py
> +++ b/elbepack/dbaction.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  
>  from optparse import OptionParser
> diff --git a/elbepack/debinstaller.py b/elbepack/debinstaller.py
> index 0c1ca58ac..c1dfb8ab5 100644
> --- a/elbepack/debinstaller.py
> +++ b/elbepack/debinstaller.py
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import os
>  import re
> diff --git a/elbepack/egpg.py b/elbepack/egpg.py
> index 8fd35b74c..ffd224f2e 100644
> --- a/elbepack/egpg.py
> +++ b/elbepack/egpg.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  
>  from gpg import core
> diff --git a/elbepack/filesystem.py b/elbepack/filesystem.py
> index 683899b7b..54a01a3e5 100644
> --- a/elbepack/filesystem.py
> +++ b/elbepack/filesystem.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import shutil
>  import errno
> diff --git a/elbepack/finetuning.py b/elbepack/finetuning.py
> index b2fdf0706..60cb5c03c 100644
> --- a/elbepack/finetuning.py
> +++ b/elbepack/finetuning.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import errno
>  import base64
> diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py
> index f7a49abf8..5af46de4c 100644
> --- a/elbepack/hdimg.py
> +++ b/elbepack/hdimg.py
> @@ -7,8 +7,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import logging
>  import os
>  
> diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
> index 348c82b36..4c086cf92 100644
> --- a/elbepack/initvmaction.py
> +++ b/elbepack/initvmaction.py
> @@ -8,8 +8,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import time
>  import os
> diff --git a/elbepack/pbuilderaction.py b/elbepack/pbuilderaction.py
> index 99e431cc5..29f3f9b77 100644
> --- a/elbepack/pbuilderaction.py
> +++ b/elbepack/pbuilderaction.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import os
>  
> diff --git a/elbepack/pkgutils.py b/elbepack/pkgutils.py
> index be567b659..ea8c49aad 100644
> --- a/elbepack/pkgutils.py
> +++ b/elbepack/pkgutils.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import re
>  
> diff --git a/elbepack/rpcaptcache.py b/elbepack/rpcaptcache.py
> index c83ee00de..d7b21ee8c 100644
> --- a/elbepack/rpcaptcache.py
> +++ b/elbepack/rpcaptcache.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import logging
>  import os
>  import sys
> diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
> index a53cf9cf3..538277505 100644
> --- a/elbepack/soapclient.py
> +++ b/elbepack/soapclient.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import binascii
>  import socket
>  import time
> diff --git a/elbepack/templates.py b/elbepack/templates.py
> index bbbe3e597..d51fc3b33 100644
> --- a/elbepack/templates.py
> +++ b/elbepack/templates.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  
>  from mako.template import Template
> diff --git a/elbepack/treeutils.py b/elbepack/treeutils.py
> index 9acc35a6d..6d6cac387 100644
> --- a/elbepack/treeutils.py
> +++ b/elbepack/treeutils.py
> @@ -4,8 +4,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import copy
>  
>  from lxml.etree import ElementTree, SubElement, Element
> diff --git a/elbepack/updated.py b/elbepack/updated.py
> index ec7e2974f..4c73bbad3 100644
> --- a/elbepack/updated.py
> +++ b/elbepack/updated.py
> @@ -8,8 +8,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import errno
>  import os
>  import subprocess
> diff --git a/elbepack/virtapt.py b/elbepack/virtapt.py
> index 3ad0d129d..5acb60cbf 100644
> --- a/elbepack/virtapt.py
> +++ b/elbepack/virtapt.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import sys
>  
> diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
> index 7c3c4689b..d642c7e30 100644
> --- a/elbepack/xmldefaults.py
> +++ b/elbepack/xmldefaults.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import random
>  
>  from elbepack.kvm import find_kvm_exe
> diff --git a/elbepack/xmlpreprocess.py b/elbepack/xmlpreprocess.py
> index fdc037b41..f0ea733a0 100644
> --- a/elbepack/xmlpreprocess.py
> +++ b/elbepack/xmlpreprocess.py
> @@ -5,8 +5,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import os
>  import re
>  import sys
> diff --git a/test/updated.py b/test/updated.py
> index 3b10d2f4c..eb244ab94 100755
> --- a/test/updated.py
> +++ b/test/updated.py
> @@ -6,8 +6,6 @@
>  #
>  # SPDX-License-Identifier: GPL-3.0-or-later
>  
> -from __future__ import print_function
> -
>  import sys
>  import threading
>  import time
> -- 
> 2.20.1
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner


More information about the elbe-devel mailing list