We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc215e3 commit 0585dd9Copy full SHA for 0585dd9
powerdns/exceptions.py
@@ -27,9 +27,9 @@ class PDNSCanonicalError(SyntaxError):
27
"""
28
def __init__(self, name):
29
"""Initialization"""
30
+ super(PDNSCanonicalError, self).__init__(name)
31
self.name = name
32
self.message = "'%s' is not canonical" % name
- super(PDNSCanonicalError, self).__init__()
33
34
35
class PDNSError(Exception):
@@ -45,7 +45,7 @@ def __repr__(self):
45
46
def __init__(self, url, status_code, message):
47
48
+ super(PDNSError, self).__init__()
49
self.url = url
50
self.status_code = status_code
51
self.message = message
- super(PDNSError, self).__init__()
0 commit comments