Removed the whole dealio with PRINTF and whatnot.

This commit is contained in:
Jeremy Fincher 2003-10-10 06:03:02 +00:00
parent 9f2352fbea
commit 7fe7c03d81
2 changed files with 2 additions and 7 deletions

View File

@ -72,9 +72,6 @@ if sys.platform == 'win32':
else:
colorterm = True
# PRINTF: True if printf debugging messages should be printed.
PRINTF = False
# minimumPriority: Lowest priority logged;
# One of {'verbose', 'low', 'normal', 'high'}.
minimumPriority = 'verbose'
@ -221,9 +218,8 @@ def msg(s, priority='low'):
_debugfd.flush()
def printf(msg):
"""Used for simple printf debugging. Can be turned off via PRINTF."""
if PRINTF:
print '*** ' + str(msg)
"""Used for simple printf debugging."""
print '*** ' + str(msg)
def methodNamePrintf(obj, methodName):
"""Does a debug.printf with the appropriate method name."""

View File

@ -50,7 +50,6 @@ import unittest
import debug
debug.stderr = False
debug.PRINTF = True
import world
import ircdb