Skip to content

Commit

Permalink
Add pylint disable for Python 2.6 since we are catching exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgilland committed Apr 23, 2015
1 parent b60cf12 commit 02f5d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pushjack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# Set default logging handler to avoid "No handler found" warnings.
import logging
try: # Python 2.7+
from logging import NullHandler
from logging import NullHandler # pylint: disable=no-name-in-module
except ImportError: # pragma: no cover
class NullHandler(logging.Handler):
def emit(self, record):
Expand Down

0 comments on commit 02f5d17

Please sign in to comment.