#5718 suspisious except clause in update_ssh_keys function
Closed: Fixed None Opened 5 years ago by mbasti.

regression caused by commit 27dabb4

           except ValueError as UnicodeDecodeError:

should be

           except (ValueError, UnicodeDecodeError):

This error is on multiple places in code

Sending my apologize to Petr Viktorin, it was broken before commit 27dabb4

-            except ValueError, UnicodeDecodeError:
+            except ValueError as UnicodeDecodeError:


  • 2c8e100 fix suspicious except statements


  • 367a1cb fix suspicious except statements

Metadata Update from @mbasti:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.3.1

4 years ago

Login to comment on this ticket.