Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very small fix to avoid an AttributeError #5163

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

ptosco
Copy link
Contributor

@ptosco ptosco commented Apr 4, 2022

This PR avoids that delattr fails with an AttributeError if _opts is not yet set.
Thanks to Jacob Gora for reporting this.

@ptosco ptosco changed the title Very small fix to avoid an AttributeErro Very small fix to avoid an AttributeError Apr 4, 2022
Copy link
Member

@greglandrum greglandrum left a comment

Choose a reason for hiding this comment

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

gotta love those one liners

@greglandrum greglandrum added the bug label Apr 7, 2022
@greglandrum greglandrum added this to the 2022_03_2 milestone Apr 7, 2022
@greglandrum greglandrum merged commit a0864e0 into rdkit:master Apr 7, 2022
greglandrum pushed a commit that referenced this pull request Apr 25, 2022
…eporting) (#5163)

Co-authored-by: Tosco, Paolo <paolo.tosco@novartis.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants