From 6835b801f244e844ddf4d071fd3e71d44c67914b Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Sat, 10 May 2014 23:14:50 -0700 Subject: [PATCH] Default the impl_memory conf to none This configuration isn't used for anything in the memory backend so default it to none so that it doesn't need to be provided (since it's not used). Change-Id: I9e333aec52b697ebd3d5b1f4ec14d810e99bab19 --- taskflow/persistence/backends/impl_memory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskflow/persistence/backends/impl_memory.py b/taskflow/persistence/backends/impl_memory.py index d3ad18fa..2d4c5e09 100644 --- a/taskflow/persistence/backends/impl_memory.py +++ b/taskflow/persistence/backends/impl_memory.py @@ -32,7 +32,7 @@ class MemoryBackend(base.Backend): """A backend that writes logbooks, flow details, and task details to in memory dictionaries. """ - def __init__(self, conf): + def __init__(self, conf=None): super(MemoryBackend, self).__init__(conf) self._log_books = {} self._flow_details = {}