From 924639f7faf8c2fc1a635c0f27a13d98b47fc453 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Nov 2021 14:02:30 -0700 Subject: datacite: add comment about potential date parsing bug --- python/fatcat_tools/importers/datacite.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python') diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py index 39033429..551d9d9b 100644 --- a/python/fatcat_tools/importers/datacite.py +++ b/python/fatcat_tools/importers/datacite.py @@ -1274,6 +1274,7 @@ def parse_datacite_dates( print("fallback for {}".format(value), file=sys.stderr) release_date, release_month, release_year = parse_single_date(value) + # XXX: result has not been updated since the above line if result is None: # Unparsable date. return release_date, release_month, release_year -- cgit v1.2.3