Permalink
Browse files

coala_quickstart: Fix errors due to logging

Configures the stream handler of the `logging` module
to be `stdout` to avoid ``ValueError`` while writing
to the log stream.

Fixes #143
  • Loading branch information...
satwikkansal committed Jul 29, 2017
1 parent 02369a9 commit 4ceaf2fd32be070b2598d8a39247a257354e8590
Showing with 3 additions and 0 deletions.
  1. +3 −0 coala_quickstart/coala_quickstart.py
@@ -1,5 +1,7 @@
import argparse
import logging
import os
import sys
from pyprint.ConsolePrinter import ConsolePrinter
@@ -57,6 +59,7 @@ def main():
arg_parser = _get_arg_parser()
args = arg_parser.parse_args()
logging.basicConfig(stream=sys.stdout)
printer = ConsolePrinter()
log_printer = LogPrinter(printer)

0 comments on commit 4ceaf2f

Please sign in to comment.