File: __init__.py

package info (click to toggle)
python-kafka 2.0.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,740 kB
  • sloc: python: 20,457; makefile: 210; sh: 76
file content (8 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
from __future__ import absolute_import

# Set default logging handler to avoid "No handler found" warnings.
import logging
logging.basicConfig(level=logging.INFO)

from kafka.future import Future
Future.error_on_callbacks = True  # always fail during testing