#9876 Incorrect exception type in remove_edge()
Closed: fixed by rjeffman. Opened by samishaikh.

When a edge does not exist in graph class but the list.remove (used for edges)
raises a ValueError but the code will only catch KeyError.

fixes:
change the KeyError in remove_edges() to ValueError.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8027

Metadata Update from @frenaud:
- Issue assigned to samishaikh

master:

  • 06c224055a13ee96a43fa048dabf9db42611ca6e Fix incorrect error handling in ipapython/graph.py

ipa-4-12:

  • ef13ca92dd1955dafad9632148ba2a5055884603 Fix incorrect error handling in ipapython/graph.py

ipa-4-13:

  • f094818 Fix incorrect error handling in ipapython/graph.py

Metadata Update from @rjeffman:
- Custom field affects_doc adjusted to on
- Custom field knownissue adjusted to on
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata