renaming first steps

This commit is contained in:
David Halter
2012-09-09 15:01:48 +02:00
parent 740dffebfa
commit 8cdc5cc9bd
6 changed files with 163 additions and 34 deletions

View File

@@ -14,7 +14,6 @@ WARNING = object()
ERROR = object()
debug_function = None
#debug_function = print_to_stdout
ignored_modules = ['parsing', 'builtin']
@@ -41,3 +40,6 @@ def print_to_stdout(level, *args):
""" The default debug function """
msg = (Fore.GREEN + 'dbg: ' if level == NOTICE else Fore.RED + 'warning: ')
print(msg + ', '.join(str(a) for a in args) + Fore.RESET)
#debug_function = print_to_stdout