aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/harvest
diff options
context:
space:
mode:
authorEdward Betts <edward@4angle.com>2020-03-27 21:25:54 +0000
committerEdward Betts <edward@4angle.com>2020-03-27 21:25:54 +0000
commit94710b2803780ab16fb30b79010f8e27cf115512 (patch)
tree000f8ed47d8062261c78d47ab237350eb75257e3 /python/fatcat_tools/harvest
parent3ff5c1f371fb6764df415e816884e1be0577088c (diff)
downloadfatcat-94710b2803780ab16fb30b79010f8e27cf115512.tar.gz
fatcat-94710b2803780ab16fb30b79010f8e27cf115512.zip
Correct spelling mistakes
Diffstat (limited to 'python/fatcat_tools/harvest')
-rw-r--r--python/fatcat_tools/harvest/harvest_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/harvest/harvest_common.py b/python/fatcat_tools/harvest/harvest_common.py
index 310366bd..5f7aa084 100644
--- a/python/fatcat_tools/harvest/harvest_common.py
+++ b/python/fatcat_tools/harvest/harvest_common.py
@@ -133,7 +133,7 @@ class HarvestState:
def fail_fast(err, msg):
if err:
raise KafkaException(err)
- print("Commiting status to Kafka: {}".format(kafka_topic), file=sys.stderr)
+ print("Committing status to Kafka: {}".format(kafka_topic), file=sys.stderr)
producer_conf = kafka_config.copy()
producer_conf.update({
'delivery.report.only.error': True,
@@ -164,7 +164,7 @@ class HarvestState:
raise KafkaException(err)
conf = kafka_config.copy()
conf.update({
- 'group.id': 'dummy_init_group', # should never be commited
+ 'group.id': 'dummy_init_group', # should never be committed
'enable.auto.commit': False,
'auto.offset.reset': 'earliest',
'session.timeout.ms': 10000,