diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2019-12-27 00:28:15 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2019-12-28 23:07:32 +0100 |
commit | fb3739aa74cc8ddc29222231b581fea5a2e16196 (patch) | |
tree | 379d767e3a72feae4bf994c3f0b397203f55917f /python | |
parent | 161103859c556593922682f2bb24e18cc5a48cae (diff) | |
download | fatcat-fb3739aa74cc8ddc29222231b581fea5a2e16196.tar.gz fatcat-fb3739aa74cc8ddc29222231b581fea5a2e16196.zip |
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, ...
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/importers/datacite.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |