Started work on a much simplified mod_python server

This commit is contained in:
Jason Gerard DeRose
2009-01-30 20:53:32 -07:00
committed by Rob Crittenden
parent 91ca06f079
commit c2b0c80140
10 changed files with 103 additions and 95 deletions

View File

@@ -410,9 +410,26 @@ class KerberosError(AuthenticationError):
errno = 1100
class CCacheError(KerberosError):
"""
**1101** Raised when sever does not recieve Kerberose credentials.
For example:
>>> raise CCacheError()
Traceback (most recent call last):
...
CCacheError: did not receive Kerberos credentials
"""
errno = 1101
format = _('did not receive Kerberos credentials')
class ServiceError(KerberosError):
"""
**1101** Raised when service is not found in Kerberos DB.
**1102** Raised when service is not found in Kerberos DB.
For example:
@@ -420,10 +437,9 @@ class ServiceError(KerberosError):
Traceback (most recent call last):
...
ServiceError: Service 'HTTP@localhost' not found in Kerberos database
"""
errno = 1101
errno = 1102
format = _('Service %(service)r not found in Kerberos database')