From ea6abf75b24b723b2b1295008281ecbc3b3c0590 Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 12 Sep 2011 17:15:45 +0200 Subject: [PATCH] typo. fix issue #252. --- gunicorn/glogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index 8dc53925..a5268cf2 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -126,7 +126,7 @@ class Logger(object): if isinstance(handler, logging.FileHandler): handler.acquire() handler.stream.close() - handler.stream = open(handler.baseFileName, + handler.stream = open(handler.baseFilename, handler.mode) handler.release()