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 085047f..5ed05f8 100644 --- a/wsgitools/digest.py +++ b/wsgitools/digest.py @@ -133,7 +133,7 @@ class StaleNonce(AuthenticationRequired): pass __all__.append("AbstractTokenGenerator") -class AbstractTokenGenerator: +class AbstractTokenGenerator(object): """Interface class for generating authentication tokens for L{AuthDigestMiddleware}. @@ -281,7 +281,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 @@ -497,7 +497,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}, |