Skip to content

Conversation

@keshav-space
Copy link
Member

Signed-off-by: Keshav Priyadarshi git@keshav.space

Signed-off-by: Keshav Priyadarshi <git@keshav.space>
"date_published": date_published.isoformat() if date_published else None,
"date_published": datetime.datetime.fromisoformat(date_published)
if date_published
else None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You likely want this done above in plain code rather than inside the dict creation, just before line 257

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a unit test just for this?

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! See a few nits inline.

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
merging.

@pombredanne pombredanne merged commit 554384b into aboutcode-org:main May 2, 2022
@keshav-space keshav-space deleted the test_openssl_importer_default_improver branch May 4, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants