summaryrefslogtreecommitdiffstats
path: root/ipalib/constants.py
diff options
context:
space:
mode:
authorRobert Kuska <rkuska@redhat.com>2015-08-24 12:40:33 +0200
committerJan Cholasta <jcholast@redhat.com>2015-09-30 10:51:36 +0200
commit01da4a8de3ed8651cc95df6125751e1603dbd14e (patch)
tree823856bad461808163b3fc05c54e0d87d26dd381 /ipalib/constants.py
parent34e6c3ea05b23f4a5fe6fb6aaadd394967f31340 (diff)
downloadfreeipa-01da4a8de3ed8651cc95df6125751e1603dbd14e.tar.gz
freeipa-01da4a8de3ed8651cc95df6125751e1603dbd14e.tar.xz
freeipa-01da4a8de3ed8651cc95df6125751e1603dbd14e.zip
Replace StandardError with Exception
StandardError was removed in Python3 and instead Exception should be used. Signed-off-by: Robert Kuska <rkuska@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r--ipalib/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index 53c3106cd..987d40901 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -49,7 +49,7 @@ TYPE_ERROR = '%s: need a %r; got %r (a %r)'
# Stardard format for TypeError message when a callable is expected:
CALLABLE_ERROR = '%s: need a callable; got %r (which is a %r)'
-# Standard format for StandardError message when overriding an attribute:
+# Standard format for Exception message when overriding an attribute:
OVERRIDE_ERROR = 'cannot override %s.%s value %r with %r'
# Standard format for AttributeError message when a read-only attribute is