From 4bb2925aa40ff2e6f35f23d1cdcb3d96e2d22a36 Mon Sep 17 00:00:00 2001 From: benoitc Date: Wed, 27 Jul 2016 10:22:09 +0200 Subject: [PATCH] fix compatibility with python 2.6 --- gunicorn/glogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index e6f39970..7d1a94c3 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -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)