aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms/csl.py
diff options
context:
space:
mode:
authorMartin Czygan <martin@archive.org>2021-05-28 20:18:46 +0000
committerMartin Czygan <martin@archive.org>2021-05-28 20:18:46 +0000
commit6a0a25e219f39530efeefd136c7abc298c89388d (patch)
tree1e318f5251429df0d2d7a8649beb57bfb0fe81b3 /python/fatcat_tools/transforms/csl.py
parenta7a3cc1f8de8f38d98cf878282bd26ec4d76771f (diff)
parent064b05a2f49138a1708416b9fc1ac25c29a858ef (diff)
downloadfatcat-6a0a25e219f39530efeefd136c7abc298c89388d.tar.gz
fatcat-6a0a25e219f39530efeefd136c7abc298c89388d.zip
Merge branch 'bnewbold-lint-fixes' into 'master'
various lint fixes; should un-break CI See merge request webgroup/fatcat!106
Diffstat (limited to 'python/fatcat_tools/transforms/csl.py')
-rw-r--r--python/fatcat_tools/transforms/csl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/transforms/csl.py b/python/fatcat_tools/transforms/csl.py
index 15bb369f..0556f4fe 100644
--- a/python/fatcat_tools/transforms/csl.py
+++ b/python/fatcat_tools/transforms/csl.py
@@ -33,7 +33,7 @@ def release_to_csl(entity):
if contrib.creator:
# Default to "local" (publication-specific) metadata; fall back to
# creator-level
- family = contrib.creator.surname or contrib.surname or (contrib.raw_name and contrib.raw_name.split()[-1])
+ family = contrib.creator.surname or contrib.surname or (contrib.raw_name and contrib.raw_name.split()[-1])
if not family:
# CSL requires some surname (family name)
continue