mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[1414] exception object itself isn't used
This commit is contained in:
@@ -490,7 +490,7 @@ class ZonemgrRefresh:
|
|||||||
# Convert rr_class to and from RRClass to check its value
|
# Convert rr_class to and from RRClass to check its value
|
||||||
try:
|
try:
|
||||||
name_class = (name, isc.dns.RRClass(rr_class).to_text())
|
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 '" +
|
raise ZonemgrException("Bad RR class '" +
|
||||||
rr_class +
|
rr_class +
|
||||||
"' for zone " + name)
|
"' for zone " + name)
|
||||||
|
Reference in New Issue
Block a user