Skip to content

Commit

Permalink
Minor cleanup of __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
gmr committed Apr 24, 2015
1 parent f9c1692 commit 51c73eb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rejected/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
__since__ = "2009-09-10"
__version__ = "3.4.6"
__version__ = "3.5.0"

from consumer import Consumer
from consumer import PublishingConsumer
Expand All @@ -21,11 +21,8 @@ class NullHandler(logging.Handler):
"""Python 2.6 does not have a NullHandler"""
def emit(self, record):
"""Emit a record
:param record record: The record to emit
"""
pass

logging.getLogger('rejected').addHandler(NullHandler())
logging.getLogger('rejected.consumer').addHandler(NullHandler())

0 comments on commit 51c73eb

Please sign in to comment.