mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-30 14:52:44 +01:00
Fixed stupidity with printf (boolean) and printf (function). Changed the boolean printf to PRINTF.
This commit is contained in:
parent
3be0c261d3
commit
4a4595146f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user