mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Removed the whole dealio with PRINTF and whatnot.
This commit is contained in:
parent
9f2352fbea
commit
7fe7c03d81
@ -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,8 +218,7 @@ def msg(s, priority='low'):
|
||||
_debugfd.flush()
|
||||
|
||||
def printf(msg):
|
||||
"""Used for simple printf debugging. Can be turned off via PRINTF."""
|
||||
if PRINTF:
|
||||
"""Used for simple printf debugging."""
|
||||
print '*** ' + str(msg)
|
||||
|
||||
def methodNamePrintf(obj, methodName):
|
||||
|
@ -50,7 +50,6 @@ import unittest
|
||||
|
||||
import debug
|
||||
debug.stderr = False
|
||||
debug.PRINTF = True
|
||||
|
||||
import world
|
||||
import ircdb
|
||||
|
Loading…
Reference in New Issue
Block a user