#5718 suspisious except clause in update_ssh_keys function
Closed: Fixed Opened by mbasti.

regression caused by commit 27dabb45

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

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

master:

  • 2c8e100c73ee1f0c9b57a0aabfc8ab8820e80687 fix suspicious except statements

ipa-4-3:

  • 367a1cbd1e01cf758414f97606028571768fb459 fix suspicious except statements

Moving to 4.3.x

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

Metadata