diff options
author | John Dennis <jdennis@redhat.com> | 2009-11-19 11:09:51 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-11-19 14:51:49 -0500 |
commit | 76fc1f75f90925be128820e61a3d3e31c4c2ca06 (patch) | |
tree | d3ea03bf961f47d67bd781fc11f2f207261306c6 | |
parent | eb5793b5eac6cde33abfe8ea14399cc3646c9f79 (diff) | |
download | freeipa-76fc1f75f90925be128820e61a3d3e31c4c2ca06.tar.gz freeipa-76fc1f75f90925be128820e61a3d3e31c4c2ca06.tar.xz freeipa-76fc1f75f90925be128820e61a3d3e31c4c2ca06.zip |
error strings in documentation were missing unicode specifier
error strings in documentation were missing unicode specifier
-rw-r--r-- | ipalib/errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py index 1c358cd6..ca1851c5 100644 --- a/ipalib/errors.py +++ b/ipalib/errors.py @@ -390,7 +390,7 @@ class NetworkError(PublicError): For example: - >>> raise NetworkError(uri='ldap://localhost:389', error='Connection refused') + >>> raise NetworkError(uri='ldap://localhost:389', error=u'Connection refused') Traceback (most recent call last): ... NetworkError: cannot connect to 'ldap://localhost:389': Connection refused @@ -694,7 +694,7 @@ class ConversionError(InvocationError): For example: - >>> raise ConversionError(name='age', error='must be an integer') + >>> raise ConversionError(name='age', error=u'must be an integer') Traceback (most recent call last): ... ConversionError: invalid 'age': must be an integer @@ -710,7 +710,7 @@ class ValidationError(InvocationError): For example: - >>> raise ValidationError(name='sn', error='can be at most 128 characters') + >>> raise ValidationError(name='sn', error=u'can be at most 128 characters') Traceback (most recent call last): ... ValidationError: invalid 'sn': can be at most 128 characters |