-
Notifications
You must be signed in to change notification settings - Fork 22
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
AND
statements not flattened in dedup()
#67
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example
licensing.dedup()
should have simplified the following expression:(gpl AND mit) AND mit AND (gpl OR mit)
->gpl AND mit AND (gpl OR mit)
But currently it does not flatten AND statements in parenthesis, but it should.
This can be done either by:
licensing.dedup(str(expression.flatten()))
(?)The text was updated successfully, but these errors were encountered: