]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1414] exception object itself isn't used
authorJelte Jansen <jelte@isc.org>
Thu, 15 Dec 2011 13:20:01 +0000 (14:20 +0100)
committerJelte Jansen <jelte@isc.org>
Thu, 15 Dec 2011 13:20:01 +0000 (14:20 +0100)
src/bin/zonemgr/zonemgr.py.in

index f1ee2385f36e2bf1100ac6d291526d57baf981ae..4060bb59d618858f858c78481dac41556d2d3a53 100755 (executable)
@@ -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)