diff options
Diffstat (limited to 'wsgitools/digest.py')
-rw-r--r-- | wsgitools/digest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wsgitools/digest.py b/wsgitools/digest.py index 6395d02..2f49ff7 100644 --- a/wsgitools/digest.py +++ b/wsgitools/digest.py @@ -141,7 +141,7 @@ class StaleNonce(AuthenticationRequired): pass __all__.append("AbstractTokenGenerator") -class AbstractTokenGenerator: +class AbstractTokenGenerator(object): """Interface class for generating authentication tokens for L{AuthDigestMiddleware}. @@ -292,7 +292,7 @@ class UpdatingHtdigestTokenGenerator(HtdigestTokenGenerator): return HtdigestTokenGenerator.__call__(self, user, algo) __all__.append("NonceStoreBase") -class NonceStoreBase: +class NonceStoreBase(object): """Nonce storage interface.""" def __init__(self): pass @@ -508,7 +508,7 @@ class MemoryNonceStore(NonceStoreBase): return True __all__.append("LazyDBAPI2Opener") -class LazyDBAPI2Opener: +class LazyDBAPI2Opener(object): """ Connects to database on first request. Otherwise it behaves like a dbapi2 connection. This may be usefull in combination with L{scgi.forkpool}, |