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