Fixed stupidity with printf (boolean) and printf (function). Changed the boolean printf to PRINTF.

This commit is contained in:
Jeremy Fincher 2003-10-03 22:26:08 +00:00
parent 3be0c261d3
commit 4a4595146f

View File

@ -72,8 +72,8 @@ if sys.platform == 'win32':
else:
colorterm = True
# printf: True if printf debugging messages should be printed.
printf = False
# PRINTF: True if printf debugging messages should be printed.
PRINTF = False
# minimumPriority: Lowest priority logged;
# One of {'verbose', 'low', 'normal', 'high'}.
@ -209,7 +209,7 @@ def msg(s, priority='low'):
_debugfd.flush()
def printf(msg):
if printf:
if PRINTF:
print '*** ' + str(msg)
def methodNamePrintf(obj, methodName):