diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-05-25 16:30:09 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-05-25 16:30:09 -0700 |
commit | 7aa19b92f0e7808a341aec8ae17485408dfae68c (patch) | |
tree | baa906e271c6dfd6bd058024a289795916aba4ed /python/fatcat_tools/transforms | |
parent | a7a3cc1f8de8f38d98cf878282bd26ec4d76771f (diff) | |
download | fatcat-7aa19b92f0e7808a341aec8ae17485408dfae68c.tar.gz fatcat-7aa19b92f0e7808a341aec8ae17485408dfae68c.zip |
small python lint fixes (no behavior change)
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r-- | python/fatcat_tools/transforms/csl.py | 2 |
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 |