summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/datacite.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py
index 70f8db86..221ac8f5 100644
--- a/python/fatcat_tools/importers/datacite.py
+++ b/python/fatcat_tools/importers/datacite.py
@@ -869,8 +869,7 @@ class DataciteImporter(EntityImporter):
if given_name:
given_name = clean(given_name)
- if surname:
- surname = clean(surname)
+ surname = clean(surname)
# Perform a final assertion that name does not reduce to zero
# (e.g. whitespace only name).