[elbe-devel] [PATCH 0/4] Eliminate catching ImportErrors

bage at linutronix.de bage at linutronix.de
Fri Oct 2 19:46:16 CEST 2020


From: Bastian Germann <bage at linutronix.de>

Catching ImportErrors is smelly code. Most of it was there for Python 2.
Remove those and any other occurences.

Bastian Germann (4):
  Revert "Python3: change imports for python3 compatibility"
  python3: Remove urllib compatibility imports
  updated: Don't catch ImportError for spyne
  updated: Depend on pyudev and packaging

 debian/control                    |  5 +++--
 elbepack/archivedir.py            |  6 +-----
 elbepack/asyncworker.py           | 10 ++--------
 elbepack/commands/control.py      |  8 ++------
 elbepack/commands/prjrepo.py      |  8 ++------
 elbepack/daemons/soap/__init__.py | 13 ++++---------
 elbepack/daemons/soap/esoap.py    | 15 +++++----------
 elbepack/db.py                    |  5 +----
 elbepack/debinstaller.py          | 15 +--------------
 elbepack/elbexml.py               | 14 ++++++--------
 elbepack/pbuilder.py              |  6 ++----
 elbepack/rfs.py                   |  8 ++------
 elbepack/soapclient.py            |  8 ++------
 elbepack/updated.py               | 20 +++++++-------------
 elbepack/updated_monitors.py      |  7 +------
 elbepack/xmlpreprocess.py         |  7 ++-----
 16 files changed, 43 insertions(+), 112 deletions(-)

-- 
2.28.0



More information about the elbe-devel mailing list