Skip to content

Commit f5acccf

Browse files
authored
Remove unused import
1 parent f145e37 commit f5acccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kafka/cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from kafka.vendor import six
1010

1111
from kafka import errors as Errors
12-
from kafka.conn import collect_hosts, dns_lookup
12+
from kafka.conn import collect_hosts
1313
from kafka.future import Future
1414
from kafka.structs import BrokerMetadata, PartitionMetadata, TopicPartition
1515

@@ -189,7 +189,7 @@ def request_update(self):
189189
with self._lock:
190190
self._need_update = True
191191
if not self._future or self._future.is_done:
192-
self._future = Future()
192+
self._future = Future()
193193
return self._future
194194

195195
def topics(self, exclude_internal_topics=True):

0 commit comments

Comments
 (0)