added want-interest-printout dconfig

This commit is contained in:
Samir Naik 2005-03-08 23:08:16 +00:00
parent c42054ccac
commit d88b0b6411
1 changed files with 3 additions and 1 deletions

View File

@ -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.
"""