From 5a14bd8c947251d1a8f848175cc3cf2b07af3411 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Tue, 5 Apr 2016 09:34:48 -0700 Subject: Update imports from kafka.common -> kafka.errors / kafka.structs --- kafka/client_async.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kafka/client_async.py') diff --git a/kafka/client_async.py b/kafka/client_async.py index d70e4f2..b77ead5 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -11,10 +11,9 @@ import time import six -import kafka.common as Errors # TODO: make Errors a separate class - from .cluster import ClusterMetadata from .conn import BrokerConnection, ConnectionStates, collect_hosts, get_ip_port_afi +from . import errors as Errors from .future import Future from .protocol.metadata import MetadataRequest from .protocol.produce import ProduceRequest -- cgit v1.2.1