@@ -11,7 +11,7 @@ class ConfluenceError(SphinxError):
1111
1212class ConfluenceAuthenticationFailedUrlError (ConfluenceError ):
1313 def __init__ (self ):
14- super (ConfluenceAuthenticationFailedUrlError , self ).__init__ ('''
14+ super ().__init__ ('''
1515---
1616Unable to authenticate with Confluence
1717
@@ -25,7 +25,7 @@ def __init__(self):
2525
2626class ConfluenceBadApiError (ConfluenceError ):
2727 def __init__ (self , code , details ):
28- super (ConfluenceBadApiError , self ).__init__ ('''
28+ super ().__init__ ('''
2929---
3030Unsupported Confluence API call
3131
@@ -43,7 +43,7 @@ def __init__(self, space_key, uname, pw_set, token_set, extras):
4343 uname_value = uname if uname else '(empty)'
4444 pw_value = '<set>' if pw_set else '(empty)'
4545 token_value = '<set>' if token_set else '(empty)'
46- super (ConfluenceBadSpaceError , self ).__init__ ('''
46+ super ().__init__ ('''
4747---
4848Invalid Confluence URL detected
4949
@@ -66,7 +66,7 @@ def __init__(self, space_key, uname, pw_set, token_set, extras):
6666
6767class ConfluenceBadServerUrlError (ConfluenceError ):
6868 def __init__ (self , server_url , ex ):
69- super (ConfluenceBadServerUrlError , self ).__init__ ('''
69+ super ().__init__ ('''
7070---
7171Invalid Confluence URL detected
7272
@@ -83,7 +83,7 @@ def __init__(self, server_url, ex):
8383
8484class ConfluenceCertificateError (ConfluenceError ):
8585 def __init__ (self , ex ):
86- super (ConfluenceCertificateError , self ).__init__ ('''
86+ super ().__init__ ('''
8787---
8888SSL certificate issue
8989
@@ -101,7 +101,7 @@ class ConfluenceConfigurationError(ConfluenceError, ConfigError):
101101
102102class ConfluenceMissingPageIdError (ConfluenceError ):
103103 def __init__ (self , space_key , page_id ):
104- super (ConfluenceMissingPageIdError , self ).__init__ ('''
104+ super ().__init__ ('''
105105---
106106Unable to find a requested page
107107
@@ -117,7 +117,7 @@ def __init__(self, space_key, page_id):
117117
118118class ConfluencePermissionError (ConfluenceError ):
119119 def __init__ (self , details ):
120- super (ConfluencePermissionError , self ).__init__ ('''
120+ super ().__init__ ('''
121121---
122122Permission denied on Confluence ({desc})
123123
@@ -130,7 +130,7 @@ def __init__(self, details):
130130
131131class ConfluenceProxyPermissionError (ConfluenceError ):
132132 def __init__ (self ):
133- super (ConfluenceProxyPermissionError , self ).__init__ ('''
133+ super ().__init__ ('''
134134---
135135Unable to authenticate with the proxy server
136136
@@ -148,7 +148,7 @@ class ConfluencePublishCheckError(ConfluenceError):
148148
149149class ConfluencePublishAncestorError (ConfluencePublishCheckError ):
150150 def __init__ (self , page_name ):
151- super (ConfluencePublishAncestorError , self ).__init__ ('''
151+ super ().__init__ ('''
152152---
153153Ancestor publish check failed for: {name}
154154
@@ -177,7 +177,7 @@ def __init__(self, page_name):
177177
178178class ConfluencePublishSelfAncestorError (ConfluencePublishCheckError ):
179179 def __init__ (self , page_name ):
180- super (ConfluencePublishSelfAncestorError , self ).__init__ ('''
180+ super ().__init__ ('''
181181---
182182Ancestor (self) publish check failed for: {name}
183183
@@ -198,7 +198,7 @@ def __init__(self, page_name):
198198
199199class ConfluenceRateLimited (ConfluenceError ):
200200 def __init__ (self ):
201- super (ConfluenceRateLimited , self ).__init__ ('''
201+ super ().__init__ ('''
202202---
203203Request has been rate limited
204204
@@ -211,7 +211,7 @@ def __init__(self):
211211
212212class ConfluenceSeraphAuthenticationFailedUrlError (ConfluenceError ):
213213 def __init__ (self ):
214- super (ConfluenceSeraphAuthenticationFailedUrlError , self ).__init__ ('''
214+ super ().__init__ ('''
215215---
216216Unable to authenticate with the Confluence instance (Seraph)
217217
@@ -226,7 +226,7 @@ def __init__(self):
226226
227227class ConfluenceSslError (ConfluenceError ):
228228 def __init__ (self , server_url , ex ):
229- super (ConfluenceSslError , self ).__init__ ('''
229+ super ().__init__ ('''
230230---
231231SSL connection issue has been detected
232232
@@ -249,7 +249,7 @@ def __init__(self, server_url, ex):
249249
250250class ConfluenceTimeoutError (ConfluenceError ):
251251 def __init__ (self , server_url ):
252- super (ConfluenceTimeoutError , self ).__init__ ('''
252+ super ().__init__ ('''
253253---
254254Connection has timed out
255255
@@ -265,7 +265,7 @@ def __init__(self, server_url):
265265
266266class ConfluenceUnreconciledPageError (ConfluenceError ):
267267 def __init__ (self , page_name , page_id , url , ex ):
268- super (ConfluenceUnreconciledPageError , self ).__init__ ('''
268+ super ().__init__ ('''
269269---
270270Unable to update unreconciled page: {name} (id: {id})
271271
0 commit comments