fix compatibility with python 2.6

This commit is contained in:
benoitc 2016-07-27 10:22:09 +02:00
parent df84d3d8fe
commit 4bb2925aa4

View File

@ -381,7 +381,7 @@ class Logger(object):
if output is not None:
if output == "-":
h = logging.StreamHandler(stream=stream)
h = logging.StreamHandler(stream)
else:
util.check_is_writeable(output)
h = logging.FileHandler(output)