We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 313998b commit 94dae3dCopy full SHA for 94dae3d
1 file changed
codemeta/parsers/python.py
@@ -313,7 +313,10 @@ def parse_python(
313
add_authors(
314
g,
315
res,
316
- value=pkg.metadata.get("Author-email", "").rsplit("<")[0],
+ value=(pkg.metadata.get("Author-email", "").rsplit("<")[0])
317
+ .strip()
318
+ .removeprefix('"')
319
+ .removesuffix('"'),
320
single_author=True,
321
mail=pkg.metadata.get("Author-email", "")
322
.rsplit("<")[-1]
@@ -348,7 +351,10 @@ def parse_python(
348
351
349
352
350
353
- value=pkg.metadata.get("Maintainer-email", "").rsplit("<")[0],
354
+ value=(pkg.metadata.get("Maintainer-email", "").rsplit("<")[0])
355
356
357
358
359
mail=pkg.metadata.get("Maintainer-email", "")
360
0 commit comments