aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/harvest/pubmed.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/fatcat_tools/harvest/pubmed.py b/python/fatcat_tools/harvest/pubmed.py
index 98bb7f00..fd4af1f4 100644
--- a/python/fatcat_tools/harvest/pubmed.py
+++ b/python/fatcat_tools/harvest/pubmed.py
@@ -95,8 +95,9 @@ class PubmedFTPWorker:
def fetch_date(self, date):
"""
- Fetch file for a given date and feed Kafka one article per message. If
- the fetched XML does not contain a PMID, this method will fail.
+ Fetch file or files for a given date and feed Kafka one article per
+ message. If the fetched XML does not contain a PMID an exception is
+ raised.
If no date file mapping is found, this will fail.
"""