wsgidav.lock_storage.LockStorageShelve.get

LockStorageShelve.get(token)

Return a lock dictionary for a token.

If the lock does not exist or is expired, None is returned.

token:
lock token
Returns:Lock dictionary or <None>

Side effect: if lock is expired, it will be purged and None is returned.