aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/harvest/doi_registrars.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-08 21:51:36 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-08 21:51:36 -0700
commit95943072da4afd1611b790d9900048100545a803 (patch)
tree4213f51025847bedda856176376f97bb00bef68b /python/fatcat_tools/harvest/doi_registrars.py
parentf787d92c7463385a08cb56fd9ec1d66d1f4bfce9 (diff)
downloadfatcat-95943072da4afd1611b790d9900048100545a803.tar.gz
fatcat-95943072da4afd1611b790d9900048100545a803.zip
fix missing KafkaException harvester importsconfluent-kafka
Diffstat (limited to 'python/fatcat_tools/harvest/doi_registrars.py')
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index 133a3f01..3362df35 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -7,7 +7,7 @@ import time
import itertools
import datetime
import requests
-from confluent_kafka import Producer
+from confluent_kafka import Producer, KafkaException
from fatcat_tools.workers import most_recent_message
from .harvest_common import HarvestState, requests_retry_session