summaryrefslogtreecommitdiff
path: root/src/zope/configuration/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/zope/configuration/exceptions.py')
-rw-r--r--src/zope/configuration/exceptions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zope/configuration/exceptions.py b/src/zope/configuration/exceptions.py
index faa9bfb..350d905 100644
--- a/src/zope/configuration/exceptions.py
+++ b/src/zope/configuration/exceptions.py
@@ -49,11 +49,11 @@ class ConfigurationError(Exception):
return '\n'.join(lines)
def __str__(self):
- s = super(ConfigurationError, self).__str__()
+ s = super().__str__()
return self._with_details(s, str)
def __repr__(self):
- s = super(ConfigurationError, self).__repr__()
+ s = super().__repr__()
return self._with_details(s, repr)
@@ -62,7 +62,7 @@ class ConfigurationWrapperError(ConfigurationError):
USE_INFO_REPR = False
def __init__(self, info, exception):
- super(ConfigurationWrapperError, self).__init__(
+ super().__init__(
repr(info) if self.USE_INFO_REPR else info)
self.add_details(exception)