aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/harvest/doi_registrars.py
diff options
context:
space:
mode:
authorMartin Czygan <martin@archive.org>2020-05-27 23:25:00 +0000
committerMartin Czygan <martin@archive.org>2020-05-27 23:25:00 +0000
commit174cf39a02b85c69ada9bea609be2fc06c172e68 (patch)
tree46fdb09a5cfe629b2581eaf195fd93ec87b399a3 /python/fatcat_tools/harvest/doi_registrars.py
parentd7ebedc840d8fe27fe0b952986ec9d9161964123 (diff)
parent670aed3800873869550b477846f48cb2b4193005 (diff)
downloadfatcat-174cf39a02b85c69ada9bea609be2fc06c172e68.tar.gz
fatcat-174cf39a02b85c69ada9bea609be2fc06c172e68.zip
Merge branch 'bnewbold-harvest-state-next-span' into 'master'
rename HarvestState.next() to HarvestState.next_span() See merge request webgroup/fatcat!53
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 4e027738..f84acb24 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -174,7 +174,7 @@ class HarvestCrossrefWorker:
def run(self, continuous=False):
while True:
- current = self.state.next(continuous) # pylint: disable=not-callable
+ current = self.state.next_span(continuous)
if current:
print("Fetching DOIs updated on {} (UTC)".format(current), file=sys.stderr)
self.fetch_date(current)