diff options
Diffstat (limited to 'python/fatcat_tools')
| -rw-r--r-- | python/fatcat_tools/harvest/doi_registrars.py | 2 | ||||
| -rw-r--r-- | python/fatcat_tools/harvest/oaipmh.py | 2 | ||||
| -rw-r--r-- | python/fatcat_tools/harvest/pubmed.py | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py index 3acb7d96..4e027738 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) +            current = self.state.next(continuous) # pylint: disable=not-callable              if current:                  print("Fetching DOIs updated on {} (UTC)".format(current), file=sys.stderr)                  self.fetch_date(current) diff --git a/python/fatcat_tools/harvest/oaipmh.py b/python/fatcat_tools/harvest/oaipmh.py index c95f3445..af1ca0d5 100644 --- a/python/fatcat_tools/harvest/oaipmh.py +++ b/python/fatcat_tools/harvest/oaipmh.py @@ -98,7 +98,7 @@ class HarvestOaiPmhWorker:      def run(self, continuous=False):          while True: -            current = self.state.next(continuous) +            current = self.state.next(continuous) # pylint: disable=not-callable              if current:                  print("Fetching DOIs updated on {} (UTC)".format(current), file=sys.stderr)                  self.fetch_date(current) diff --git a/python/fatcat_tools/harvest/pubmed.py b/python/fatcat_tools/harvest/pubmed.py index 3f31696e..d78045c6 100644 --- a/python/fatcat_tools/harvest/pubmed.py +++ b/python/fatcat_tools/harvest/pubmed.py @@ -144,7 +144,7 @@ class PubmedFTPWorker:              if len(self.date_file_map) == 0:                  raise ValueError("map from dates to files should not be empty, maybe the HTML changed?") -            current = self.state.next(continuous) +            current = self.state.next(continuous) # pylint: disable=not-callable              if current:                  print("Fetching citations updated on {} (UTC)".format(current), file=sys.stderr)                  self.fetch_date(current) | 
