Commit 740d33cd authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1414] exception object itself isn't used

parent bdd00552
......@@ -490,7 +490,7 @@ class ZonemgrRefresh:
# Convert rr_class to and from RRClass to check its value
try:
name_class = (name, isc.dns.RRClass(rr_class).to_text())
except isc.dns.InvalidRRClass as irce:
except isc.dns.InvalidRRClass:
raise ZonemgrException("Bad RR class '" +
rr_class +
"' for zone " + name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment