summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-20 15:01:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-20 15:01:30 -0700
commit9f25c2b4bd1e600448512fa6c4553acb6a3d92d6 (patch)
tree08bf839164397f8191a3949e245ecd3beb5aa0a9 /python/fatcat_tools/transforms
parent510dc33c55b1aa993fc3e0e7085184ecbda8ef04 (diff)
downloadfatcat-9f25c2b4bd1e600448512fa6c4553acb6a3d92d6.tar.gz
fatcat-9f25c2b4bd1e600448512fa6c4553acb6a3d92d6.zip
make some XXX into TODO
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r--python/fatcat_tools/transforms/csl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/transforms/csl.py b/python/fatcat_tools/transforms/csl.py
index 079e0501..989629ab 100644
--- a/python/fatcat_tools/transforms/csl.py
+++ b/python/fatcat_tools/transforms/csl.py
@@ -14,7 +14,7 @@ from fatcat_client import ApiClient
def contribs_by_role(contribs, role):
ret = [c.copy() for c in contribs if c['role'] == role]
[c.pop('role') for c in ret]
- # XXX:
+ # TODO: some note to self here
[c.pop('literal') for c in ret if 'literal' in c]
if not ret:
return None
@@ -83,7 +83,7 @@ def release_to_csl(entity):
csl = dict(
#id,
#categories
- type=entity.release_type or "article", # XXX: can't be blank
+ type=entity.release_type or "article", # can't be blank
language=entity.language,
#journalAbbreviation
#shortTitle