From fb3739aa74cc8ddc29222231b581fea5a2e16196 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 27 Dec 2019 00:28:15 +0100 Subject: datacite: page number misses are too common Should be a level debug, not info. Examples: E675, n/a, 15D.2.1, 15D.2.1, A.1E.1, A.1E.1, ... --- python/fatcat_tools/importers/datacite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/fatcat_tools') diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py index a651b9fe..a0eb92ad 100644 --- a/python/fatcat_tools/importers/datacite.py +++ b/python/fatcat_tools/importers/datacite.py @@ -435,7 +435,8 @@ class DataciteImporter(EntityImporter): int(first_page) < int(last_page) pages = '{}-{}'.format(first_page, last_page) except ValueError as err: - print('[{}] {}'.format(doi, err), file=sys.stderr) + # TODO(martin): This is more debug than info. + # print('[{}] {}'.format(doi, err), file=sys.stderr) pass if not pages and first_page: -- cgit v1.2.3