From d88b0b6411ba45d498f0e7e9f1c5e621df9d662e Mon Sep 17 00:00:00 2001 From: Samir Naik Date: Tue, 8 Mar 2005 23:08:16 +0000 Subject: [PATCH] added want-interest-printout dconfig --- direct/src/distributed/DoInterestManager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/DoInterestManager.py b/direct/src/distributed/DoInterestManager.py index adef15d757..d739430be0 100755 --- a/direct/src/distributed/DoInterestManager.py +++ b/direct/src/distributed/DoInterestManager.py @@ -128,8 +128,10 @@ class DoInterestManager(DirectObject.DirectObject): if DoInterestManager._interests[handle][3] == "PendingDel": del DoInterestManager._interests[handle] - if __debug__ and WantInterestPrintout: + if __debug__: def printInterests(self): + if not WantInterestPrintout: + return """ Part of the new otp-server code. """