Mercurial > wikked
view wk.py @ 252:f809a9ea60ff
Re-added the command-server Mercurial source control.
It should be now properly cleaned up on application shutdown (i.e. close the
command-server process).
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 31 Mar 2014 22:56:37 -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()