Browse Source

celery.backends.cache: Fixed typo dict(a, b) -> dict(a, **b)

Ask Solem 15 years ago
parent
commit
7cdc6aebb6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/backends/cache.py

+ 1 - 1
celery/backends/cache.py

@@ -28,7 +28,7 @@ class CacheBackend(KeyValueStoreBackend):
         if isinstance(expires, timedelta):
             expires = timeutils.timedelta_seconds(expires)
         self.expires = expires
-        self.options = dict(conf.CACHE_BACKEND_OPTIONS, options)
+        self.options = dict(conf.CACHE_BACKEND_OPTIONS, **options)
         self.backend, _, servers = partition(backend, "://")
         self.servers = servers.split(";")