diff --git a/src/debug.py b/src/debug.py index 059aa351e..b15590db2 100644 --- a/src/debug.py +++ b/src/debug.py @@ -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.""" diff --git a/test/test.py b/test/test.py index e58abc193..334713dea 100755 --- a/test/test.py +++ b/test/test.py @@ -50,7 +50,6 @@ import unittest import debug debug.stderr = False -debug.PRINTF = True import world import ircdb