From 2b2c787f1582a517512538cd7f9c59728aa4a91a Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Wed, 15 Jul 2015 13:47:17 +0100 Subject: [PATCH] props.CallQueue has changed - associated changes to trace monkey patch. --- fsl/utils/trace.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fsl/utils/trace.py b/fsl/utils/trace.py index 80c6fcd29..707c71ff7 100644 --- a/fsl/utils/trace.py +++ b/fsl/utils/trace.py @@ -105,11 +105,11 @@ if log.getEffectiveLevel() == logging.DEBUG: # Patch the CallQueue instance with # our push/pop implementations - theQ._causes = Queue.Queue() - theQ._realPush = theQ._push - theQ._realPop = theQ._pop - theQ._push = tracePush - theQ._pop = tracePop + theQ._causes = Queue.Queue() + theQ._realPush = theQ._CallQueue__push + theQ._realPop = theQ._CallQueue__pop + theQ._CallQueue__push = tracePush + theQ._CallQueue__pop = tracePop def trace(desc): -- GitLab