[elbe-devel] [PATCH 51/75] egpg: Fix Pylint

Torben Hohn torben.hohn at linutronix.de
Fri May 29 16:22:31 CEST 2020


On Fri, May 29, 2020 at 04:19:50PM +0200, Torben Hohn wrote:
> On Fri, May 29, 2020 at 09:27:50AM -0400, Olivier Dion wrote:
> > On Fri, 29 May 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:
> > > On Mon, May 25, 2020 at 11:42:44AM -0400, Olivier Dion wrote:
> > >> 160:20: W0621: (redefined-outer-name)
> > >> 171:11: W0703: (broad-except)
> > >> 197:11: W0703: (broad-except)
> > >> 212:11: W0703: (broad-except)
> > >
> > > i am unhappy about the broad-except ignores, but
> > > i have no overview, what might be thrown around here.
> > 
> > Same.  That's why I make them quiet.  I could investigate a little more
> > to find what exception can pop.
> 
> please investigate a little.
> if you cant find it out, or there is no proper baseclass like
> GPGException, and we end up with catching more than 5 different
> Exceptions, then add a comment, and we can go with broad.

/usr/lib/python3/dist-packages/gpg/errors.py

seems like its GPGError

> 
> > 
> > -- 
> > Olivier Dion
> > Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
> 
> -- 
> 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

-- 
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