From 5a1ab43b5e11f5ec6b310dcbb03719353ab7084b Mon Sep 17 00:00:00 2001 From: jcredding Date: Wed, 11 Jan 2012 10:13:35 -0600 Subject: [PATCH] This is a fix for pyperry from Ryan, he will probably have to explain the necessity of it more --- pyperry/callbacks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyperry/callbacks.py b/pyperry/callbacks.py index 0c1231c..34f0601 100644 --- a/pyperry/callbacks.py +++ b/pyperry/callbacks.py @@ -27,7 +27,8 @@ def __init__(self, instances=[]): for instance in instances: if isinstance(instance, CallbackManager): - self.callbacks.update(instance.callbacks) + for callback_type, callbacks in instance.callbacks.iteritems(): + self.callbacks[callback_type] = list(callbacks) else: raise ConfigurationError("CallbackManager type expected.")