Skip to content

Commit 7cdc6ae

Browse files
author
Ask Solem
committed
celery.backends.cache: Fixed typo dict(a, b) -> dict(a, **b)
1 parent 391efc7 commit 7cdc6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

celery/backends/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, expires=conf.TASK_RESULT_EXPIRES,
2828
if isinstance(expires, timedelta):
2929
expires = timeutils.timedelta_seconds(expires)
3030
self.expires = expires
31-
self.options = dict(conf.CACHE_BACKEND_OPTIONS, options)
31+
self.options = dict(conf.CACHE_BACKEND_OPTIONS, **options)
3232
self.backend, _, servers = partition(backend, "://")
3333
self.servers = servers.split(";")
3434

0 commit comments

Comments
 (0)