view wk.py @ 393:3219f8dd7868

sql: Interesting, `FILTER` generation doesn't work with the `is` keyword.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 14 Oct 2015 22:56:34 -0700
parents 2dd7535045eb
children
line wrap: on
line source

#!/usr/local/bin/python
import sys
import logging
import colorama
from wikked.witch import ColoredFormatter, main


# Configure logging.
colorama.init()
root_logger = logging.getLogger()
handler = logging.StreamHandler(stream=sys.stdout)
handler.setFormatter(ColoredFormatter('%(message)s'))
root_logger.addHandler(handler)


if __name__ == "__main__":
    main()