diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-07-10 22:47:02 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-07-10 22:47:02 +0200 |
commit | 3e5056b02b22d9df43db0d95ecd770a360dcd357 (patch) | |
tree | b0183d3332cfac1fa72c4ef02f676ea7b0989c2a /python_openapi_client/tests/codegen/test_fileset_url.py | |
parent | 46cdaee79737e8fc18de2fc3a8286d0622ec8cdf (diff) | |
download | fatcat-3e5056b02b22d9df43db0d95ecd770a360dcd357.tar.gz fatcat-3e5056b02b22d9df43db0d95ecd770a360dcd357.zip |
datacite: mitigate sentry #44035
According to sentry, running `c.get('nameIdentifiers', []) or []` on a c with value:
```
{'affiliation': [],
'familyName': 'Guidon',
'givenName': 'Manuel',
'nameIdentifiers': {'nameIdentifier': 'https://orcid.org/0000-0003-3543-6683',
'nameIdentifierScheme': 'ORCID',
'schemeUri': 'https://orcid.org'},
'nameType': 'Personal'}
```
results in a string, which I cannot reproduce. The document in question at:
https://api.datacite.org/dois/10.26275/kuw1-fdls seems fine, too.
Diffstat (limited to 'python_openapi_client/tests/codegen/test_fileset_url.py')
0 files changed, 0 insertions, 0 deletions