function calls work right now

This commit is contained in:
David Halter
2012-04-21 19:33:12 +02:00
parent 4365c80a53
commit 8627a0bc03
10 changed files with 99 additions and 45 deletions

View File

@@ -21,7 +21,8 @@ def error(*args):
def print_to_stdout(level, *args):
""" The default debug function """
print 'dbg:' if level == NOTICE else 'warning:', args
print(('dbg: ' if level == NOTICE else 'warning: ') +
', '.join(str(a) for a in args))
debug_function = None
#debug_function = print_to_stdout