diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-03-10 12:50:21 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-03-10 12:50:21 +0100 |
commit | 34a18cd1821d09ac0beee8959407ec51cf397337 (patch) | |
tree | d3dd1d7d4fbcaedbfebc2fb0ec6430588f22678d | |
parent | 6f5ead85169c71a7a010a9e2d54d4c41489c607b (diff) | |
download | fatcat-34a18cd1821d09ac0beee8959407ec51cf397337.tar.gz fatcat-34a18cd1821d09ac0beee8959407ec51cf397337.zip |
harvest: fix imports from HarvestPubmedWorker cleanup
-rwxr-xr-x | python/fatcat_harvest.py | 4 | ||||
-rw-r--r-- | python/fatcat_tools/harvest/__init__.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/fatcat_harvest.py b/python/fatcat_harvest.py index 4c4f34a1..7ac0f16c 100755 --- a/python/fatcat_harvest.py +++ b/python/fatcat_harvest.py @@ -5,8 +5,8 @@ import argparse import datetime import raven from fatcat_tools.harvest import HarvestCrossrefWorker, HarvestDataciteWorker,\ - HarvestArxivWorker, HarvestPubmedWorker, HarvestDoajArticleWorker,\ - HarvestDoajJournalWorker, PubmedFTPWorker + HarvestArxivWorker, HarvestDoajArticleWorker, HarvestDoajJournalWorker,\ + PubmedFTPWorker # Yep, a global. Gets DSN from `SENTRY_DSN` environment variable sentry_client = raven.Client() diff --git a/python/fatcat_tools/harvest/__init__.py b/python/fatcat_tools/harvest/__init__.py index 5f7a1001..b3757a7d 100644 --- a/python/fatcat_tools/harvest/__init__.py +++ b/python/fatcat_tools/harvest/__init__.py @@ -1,6 +1,6 @@ from .harvest_common import HarvestState from .doi_registrars import HarvestCrossrefWorker, HarvestDataciteWorker -from .oaipmh import HarvestArxivWorker, HarvestPubmedWorker,\ - HarvestDoajArticleWorker, HarvestDoajJournalWorker +from .oaipmh import HarvestArxivWorker, HarvestDoajArticleWorker, \ + HarvestDoajJournalWorker from .pubmed import PubmedFTPWorker |