From 01da4a8de3ed8651cc95df6125751e1603dbd14e Mon Sep 17 00:00:00 2001 From: Robert Kuska Date: Mon, 24 Aug 2015 12:40:33 +0200 Subject: Replace StandardError with Exception StandardError was removed in Python3 and instead Exception should be used. Signed-off-by: Robert Kuska Reviewed-By: Jan Cholasta --- ipalib/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/constants.py') 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 -- cgit