Skip to content

Commit 8bf4390

Browse files
Saurav SharmaSaurav Sharma
Saurav Sharma
authored and
Saurav Sharma
committed
Improvement: None removed for timeout
1 parent 23b1b68 commit 8bf4390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_redis/client/default.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def expire(
299299
version: Optional[int] = None,
300300
client: Optional[Redis] = None,
301301
) -> bool:
302-
if (timeout is DEFAULT_TIMEOUT) or (timeout is None):
302+
if timeout is DEFAULT_TIMEOUT:
303303
timeout = self._backend.default_timeout # type: ignore
304304

305305
if client is None:

0 commit comments

Comments
 (0)