Skip to content

Commit

Permalink
Make FluentRecordFormatter python 3.2 logging.Formatter compatible. fix
Browse files Browse the repository at this point in the history
  • Loading branch information
repeatedly committed Sep 20, 2016
1 parent c5f2493 commit e5dca29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent/handler.py
Expand Up @@ -24,7 +24,7 @@ class FluentRecordFormatter(logging.Formatter, object):
:param fmt: a dict with format string as values to map to provided keys.
"""
def __init__(self, fmt=None, datefmt=None):
def __init__(self, fmt=None, datefmt=None, style='%'):
super(FluentRecordFormatter, self).__init__(None, datefmt)

if not fmt:
Expand Down

0 comments on commit e5dca29

Please sign in to comment.